skyflow-js 1.29.0-beta.2 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/README.md +5 -1
- package/dist/sdkNodeBuild/index.js +1 -1
- package/dist/sdkNodeBuild/index.js.gz +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.28.0] - 2023-03-29
|
|
6
|
+
### Added
|
|
7
|
+
- Update data through collect element using skyflow id
|
|
8
|
+
|
|
9
|
+
## [1.27.4] - 2023-03-16
|
|
10
|
+
### Added
|
|
11
|
+
- Added update element interface for composable elements.
|
|
12
|
+
|
|
13
|
+
## [1.27.3] - 2023-03-10
|
|
14
|
+
### Fixed
|
|
15
|
+
- Fixed Validation for File Input
|
|
16
|
+
|
|
17
|
+
## [1.27.2] - 2023-03-09
|
|
18
|
+
### Removed
|
|
19
|
+
- Removed grace period logic in bearer token generation
|
|
20
|
+
|
|
21
|
+
## [1.27.1] - 2023-03-01
|
|
22
|
+
### Fixed
|
|
23
|
+
- Fix grace period in caching of bearer token
|
|
24
|
+
|
|
25
|
+
## [1.27.0] - 2023-02-20
|
|
26
|
+
### Added
|
|
27
|
+
- Input formatting to reveal elements
|
|
28
|
+
|
|
29
|
+
## [1.26.1] - 2023-02-20
|
|
30
|
+
### Fixed
|
|
31
|
+
- Bug fixes related to change event listeners,custom validations.
|
|
32
|
+
|
|
33
|
+
## [1.26.0] - 2023-02-15
|
|
34
|
+
### Fixed
|
|
35
|
+
- Composable elements improvements and minor bug fixes.
|
|
36
|
+
|
|
5
37
|
## [1.25.0] - 2023-02-01
|
|
6
38
|
- Added `redaction` type support in `detokenize` interface.
|
|
7
39
|
|
package/README.md
CHANGED
|
@@ -136,7 +136,7 @@ For `env` parameter, there are 2 accepted values in Skyflow.Env
|
|
|
136
136
|
- [**Using Skyflow File Element to upload a file**](#using-skyflow-file-element-to-upload-a-file)
|
|
137
137
|
## Insert data into the vault
|
|
138
138
|
|
|
139
|
-
To insert data into the vault, use the `insert(records, options?)` method of the Skyflow client. The `records` parameter takes a JSON object of the records to insert into the below format. The `options` parameter takes
|
|
139
|
+
To insert data into the vault, use the `insert(records, options?)` method of the Skyflow client. The `records` parameter takes a JSON object of the records to insert into the below format. The `options` parameter takes an object of optional parameters for the insertion. The `insert` method also supports upsert operations.
|
|
140
140
|
|
|
141
141
|
```javascript
|
|
142
142
|
const records = {
|
|
@@ -187,6 +187,7 @@ The sample response:
|
|
|
187
187
|
{
|
|
188
188
|
"table": "cards",
|
|
189
189
|
"fields":{
|
|
190
|
+
"skyflow_id": "431eaa6c-5c15-4513-aa15-29f50babe882",
|
|
190
191
|
"cardNumber": "f3907186-e7e2-466f-91e5-48e12c2bcbc1",
|
|
191
192
|
"cvv": "1989cb56-63da-4482-a2df-1f74cd0dd1a5"
|
|
192
193
|
}
|
|
@@ -500,6 +501,7 @@ container.collect({
|
|
|
500
501
|
{
|
|
501
502
|
"table": "cards",
|
|
502
503
|
"fields": {
|
|
504
|
+
"skyflow_id": "431eaa6c-5c15-4513-aa15-29f50babe882",
|
|
503
505
|
"cardNumber": "f3907186-e7e2-466f-91e5-48e12c2bcbc1",
|
|
504
506
|
"gender": "12f670af-6c7d-4837-83fb-30365fbc0b1e"
|
|
505
507
|
}
|
|
@@ -596,6 +598,7 @@ cvvElement.mount('#cvv'); //Assumes there is a div with id='#cvv' in the webpage
|
|
|
596
598
|
{
|
|
597
599
|
"table": "cards",
|
|
598
600
|
"fields": {
|
|
601
|
+
"skyflow_id": "431eaa6c-5c15-4513-aa15-29f50babe882",
|
|
599
602
|
"cardNumber": "f3907186-e7e2-466f-91e5-48e12c2bcbc1",
|
|
600
603
|
"gender": "12f670af-6c7d-4837-83fb-30365fbc0b1e"
|
|
601
604
|
}
|
|
@@ -1443,6 +1446,7 @@ composableContainer.collect({
|
|
|
1443
1446
|
{
|
|
1444
1447
|
"table": "pii_fields",
|
|
1445
1448
|
"fields": {
|
|
1449
|
+
"skyflow_id": "431eaa6c-5c15-4513-aa15-29f50babe882",
|
|
1446
1450
|
"first_name": "63b5eeee-3624-493f-825e-137a9336f882",
|
|
1447
1451
|
"card_number": "f3907186-e7e2-466f-91e5-48e12c2bcbc1",
|
|
1448
1452
|
"cvv": "7baf5bda-aa22-4587-a5c5-412f6f783a19",
|