dome-embedded-app-sdk 0.3.8 → 0.4.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/README.md +3 -3
- package/dist/card-sdk.d.ts +4 -0
- package/dist/dome-sdk.d.ts +8 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/docs/card-sdk.md +1 -3
- package/package.json +4 -1
package/docs/card-sdk.md
CHANGED
|
@@ -22,9 +22,7 @@ const my_card_decryption_blob = {...};
|
|
|
22
22
|
|
|
23
23
|
CardSdk.init(getKeyFromBlob(my_card_decryption_blob), {
|
|
24
24
|
onInit: (data) => {
|
|
25
|
-
|
|
26
|
-
this.userFullName = data?.user?.getFullName?.();
|
|
27
|
-
this.api_token = data?.api_token;
|
|
25
|
+
console.debug("onInit payload", data);
|
|
28
26
|
},
|
|
29
27
|
onInitError: ({ error_code, message }) => {
|
|
30
28
|
console.error("Initialization error", error_code, message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dome-embedded-app-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
"author": "",
|
|
43
43
|
"license": "ISC",
|
|
44
44
|
"description": "",
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"cbor-x": "^1.6.0"
|
|
47
|
+
},
|
|
45
48
|
"devDependencies": {
|
|
46
49
|
"@types/node": "^22.13.10",
|
|
47
50
|
"@types/webpack": "^5.28.5",
|