@docknetwork/wallet-sdk-relay-service 1.5.14 → 1.7.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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docknetwork/wallet-sdk-relay-service",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"license": "https://github.com/docknetwork/
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"license": "https://github.com/docknetwork/wallet-sdk/LICENSE",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/docknetwork/
|
|
7
|
+
"url": "git+https://github.com/docknetwork/wallet-sdk.git",
|
|
8
8
|
"directory": "packages/relay-service"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"uuid": "^9.0.0",
|
|
15
15
|
"@docknetwork/minimal-cipher": "^5.2.1",
|
|
16
|
-
"@docknetwork/wallet-sdk-wasm": "^1.
|
|
16
|
+
"@docknetwork/wallet-sdk-wasm": "^1.7.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"jest": "29.1.0",
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "https://schema.truvera.io/yes-no-payload-V1.json",
|
|
3
|
-
"title": "Truvera Yes-No Message Payload",
|
|
4
|
-
"description": "Schema for the payload of Truvera's yes-no confirmation messages",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["senderName", "senderDid", "senderLogo", "title", "question", "yesText", "noText"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"senderName": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"description": "Name of the sender organization"
|
|
11
|
-
},
|
|
12
|
-
"senderDid": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "DID of the sender organization"
|
|
15
|
-
},
|
|
16
|
-
"senderLogo": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"format": "uri",
|
|
19
|
-
"description": "URL to the sender's logo image"
|
|
20
|
-
},
|
|
21
|
-
"title": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "Main question or title being presented to the user"
|
|
24
|
-
},
|
|
25
|
-
"question": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Additional context, explanation, or details about the question"
|
|
28
|
-
},
|
|
29
|
-
"yesText": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "Text to display on the positive/confirmation button"
|
|
32
|
-
},
|
|
33
|
-
"noText": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Text to display on the negative/denial button"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"examples": [
|
|
39
|
-
{
|
|
40
|
-
"senderName": "Telefonica",
|
|
41
|
-
"senderDid": "did:dock:1234567890",
|
|
42
|
-
"senderLogo": "https://truvera.io/logo.png",
|
|
43
|
-
"title": "Are you currently speaking with our customer support team?",
|
|
44
|
-
"question": "This confirms you initiated the call and helps prevent fraud. Your personal information will not be shared.",
|
|
45
|
-
"yesText": "Yes, I Confirm",
|
|
46
|
-
"noText": "No, I do not"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|