Skip to content
Open
156 changes: 156 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"version": "0.2",
"language": "en",
"words": [
"Skyflow",
"Skyflow's",
"Skyflow’s",
"mkdir",
"de-identify",
"re-identify",
"deidentify",
"reidentify",
"De-identify",
"Re-identify",
"Deidentify",
"Reidentify",
"detokenize",
"detokenization",
"skyflow",
"upserting",
"de-identified",
"DEIDENTIFIED",
"de-identification",
"de-identifying",
"re-identified",
"Re-identified",
"re-identification",
"Blackbox",
"binlookup",
"BYOT",
"ILIKE",
"Creds",
"skyflowapi",
"composable",
"iframe",
"iframes",
"vaultID",
"vaultURL",
"skyflowcardtype",
"UNIONPAY",
"BANCAIRES",
"inputstyles",
"ARKEA",
"Arkea",
"Luhn",
"cardbrand",
"xxxxxxer",
"framebus",
"threeds",
"SKYFLOWID",
"GETBYID",
"PUREJS",
"Purejs",
"banceris",
"recordss",
"atleast",
"IFRAMEFORM",
"MULT",
"Initialisation",
"initialise",
"yxxx",
"XXYYYYYYY",
"WEBPACKAUTOFILL",
"redactions",
"KHTML",
"upsert",
"Upsert",
"divs",
"fullname",
"myname",
"Quickstart",
"skyflowjs",
"Roboto",
"alttext",
"Codecov",
"coralogix",
"Coralogix",
"CORALOGIX",
"corejs",
"FORMDATA",
"FORMURLENCODED",
"stringifying",
"keyify",
"Pointurl",
"inputmode",
"CARDNUMBER",
"APPLICATIONORJSON",
"TEXTORPLAIN",
"TEXTORXML",
"iframer",
"plusplus",
"loglevel",
"allowfullscreen",
"allowpaymentrequest",
"publickey",
"creq",
"iframeelement",
"iframeformelement",
"tempfield",
"onescape",
"maxlength",
"Inited",
"Kversion",
"detokenized",
"uploadfiles",
"Reay",
"cardnumberiframe",
"testce",
"onframe",
"grpc",
"microtasks",
"Formelement",
"iframeformelment",
"ghgjhjh",
"onek",
"overonek",
"enablecardicon",
"elementid",
"haslistener",
"cardmetadata",
"Mixpanel",
"recordscds",
"Googlebot",
"pagestate",
"expirydateformat",
"allowtransparency",
"isvalid",
"formencoded",
"sfsdaf",
"Wxkcy",
"wcmlt",
"Nhcm",
"Ympl",
"XXYX",
"eyde",
"aaaaabbbbbcccccdddddeeeeefffffggggg"
],
"ignorePaths": [
"node_modules/**",
"dist/**",
"build/**",
"coverage/**",
"*.log",
"package-lock.json",
".git/**",
"types/**",
"webpack.*.js",
"babel.config.js",
"tests/client.test.ts"
],
"ignoreRegExpList": [
"/\\b[A-Z0-9]{20,}\\b/g",
"/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi",
"/\\b[A-Za-z0-9_]{7,}\\b(?=])/g"
]
}
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- name: install modules
run: npm ci

- name: Run spellcheck
run: npm run spellcheck

- name: Check code quality
uses: stefanoeb/eslint-action@1.0.2

Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ All notable changes to this project will be documented in this file.

## [2.2.3] - 2025-05-08
### Added
- Add overloading method signatures for container initialisation.
- Add overloading method signatures for container initialization.

## [2.2.2] - 2025-04-22
### Added
Expand Down Expand Up @@ -100,7 +100,7 @@ All notable changes to this project will be documented in this file.
- Element validations for element value match rule.

## [1.38.0] - 2024-09-11
### Chnages
### Changes
- Error messages for various scenarios.

## [1.37.1] - 2024-09-03
Expand Down Expand Up @@ -371,7 +371,7 @@ All notable changes to this project will be documented in this file.
- Added validation of JWT token format from TokenProvider

### Fixed
- Request headers not getting overriden due to case sensitivity
- Request headers not getting overridden due to case sensitivity

## [1.12.1] - 2022-03-22

Expand Down Expand Up @@ -459,7 +459,7 @@ Detecting card type and displaying icon in the card number element

- `logLevel` option to allow different levels of logging
- event listeners for collect element
- `env` option for accessibilty of value in event listeners
- `env` option for accessibility of value in event listeners

### Changed
- Standardized error information for easier debugging
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ const getBearerToken = () => {
const response = JSON.parse(Http.responseText);
resolve(response.accessToken);
} else {
reject('Error occured');
reject('Error occurred');
}
}
};

Http.onerror = error => {
reject('Error occured');
reject('Error occurred');
};

const url = 'https://api.acmecorp.com/skyflowToken';
Expand Down Expand Up @@ -634,7 +634,7 @@ const container = skyflowClient.container(Skyflow.ContainerType.COLLECT);
const element = container.create({
table: 'cards',
column: 'cardNumber',
inputstyles: {
inputStyles: {
base: {
color: '#1d1d1d',
},
Expand Down Expand Up @@ -1211,7 +1211,7 @@ const confirmPinElement = collectContainer.create({
validations: [elementMatchRule],
});

// Mount elements on screen - errors will be shown if any of the validaitons fail.
// Mount elements on screen - errors will be shown if any of the validations fail.
pinElement.mount('#collectPIN');
confirmPinElement.mount('#collectConfirmPIN');

Expand Down Expand Up @@ -1421,7 +1421,7 @@ const cardNumber = container.create({
type: Skyflow.ElementType.CARD_NUMBER,
});

// Set a value programatically.
// Set a value programmatically.
cardNumber.setValue('4111111111111111');

// Clear the value.
Expand Down Expand Up @@ -2077,7 +2077,7 @@ To specify where the Elements are rendered on your page, create a placeholder `<
```
Use the composable container's `mount(domElement)` method to insert the container's Elements into the specified `<div>`. For instance, the following call inserts Elements into the `<div>` with the `id "#composableContainer"`.

```javacript
```javascript
container.mount('#composableContainer');
```

Expand Down Expand Up @@ -2377,7 +2377,7 @@ const cvvElement = composableContainer.create({
});

// Mount the composable container.
composableContainer.mount('#compostableContainer'); // Assumes there is a div with id='#composableContainer' in the webpage.
composableContainer.mount('#composableContainer'); // Assumes there is a div with id='#composableContainer' in the webpage.

// ...

Expand Down Expand Up @@ -4033,7 +4033,7 @@ To specify where the Elements are rendered on your page, create a placeholder `<
```
Use the composable container's `mount(domElement)` method to insert the container's Elements into the specified `<div>`. For instance, the following call inserts Elements into the `<div>` with the `id "#composableContainer"`.

```javacript
```javascript
revealComposableContainer.mount('#composableRevealContainer');
```

Expand Down
Loading
Loading