@safetech/inheriti-client-sdk 1.17.7 → 1.17.8
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/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/inheriti-client-sdk.umd.js +43 -41
- package/dist/node.js +1 -1
- package/dist/sdk-types.d.ts +15 -9
- package/dist/src/elements/core-plan-material-builder.d.ts +0 -3
- package/dist/src/elements/elements-api-port.d.ts +3 -1
- package/dist/src/elements/elements-client.d.ts +1 -0
- package/dist/src/elements/http-elements-api-port.d.ts +1 -0
- package/dist/src/elements/index.d.ts +1 -0
- package/dist/src/elements/node-plan-material-reconstructor.d.ts +1 -1
- package/dist/src/elements/plan-operations.d.ts +1 -3
- package/dist/src/elements/scoped-reveal.d.ts +1 -1
- package/dist/src/elements/ssdp-v2-plan-material-reconstructor.d.ts +7 -0
- package/dist/test.d.ts +184 -1
- package/package.json +4 -9
- package/docs/docs.json +0 -18331
- package/docs/elements-shared-mode.md +0 -28
- package/docs/operator-auth.md +0 -76
- package/docs/plan-operations.md +0 -41
- package/index.ts +0 -12
- package/node.ts +0 -77
package/dist/test.d.ts
CHANGED
|
@@ -1,2 +1,185 @@
|
|
|
1
|
-
export declare const TestUtils:
|
|
1
|
+
export declare const TestUtils: {
|
|
2
|
+
ProtectionPlan: {
|
|
3
|
+
PlanDataAssetInputGenerator: {
|
|
4
|
+
plainText: (props?: {
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
secret?: {
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
10
|
+
}) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
11
|
+
onlineAccount: (props?: any) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
12
|
+
recoveryCode: (props?: any) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
13
|
+
pinCode: (props?: any) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
14
|
+
apiKey: (props?: any) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
15
|
+
privateKey: (props?: any) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
16
|
+
seedPhrase: (props?: {
|
|
17
|
+
id?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
typeLength?: number;
|
|
20
|
+
secret?: {
|
|
21
|
+
words: string[];
|
|
22
|
+
};
|
|
23
|
+
}) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
24
|
+
paymentDebitCard: (props?: any) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
25
|
+
paymentCreditCard: (props?: any) => import("@safetech/inheriti-core-sdk").DataAsset;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
RandomElementPickerMother: {
|
|
29
|
+
new (): {};
|
|
30
|
+
from(a: any): any;
|
|
31
|
+
};
|
|
32
|
+
SharedProtectionPlan: {};
|
|
33
|
+
DataAssetInputGenerator: {
|
|
34
|
+
new (): {};
|
|
35
|
+
plainText({ id: a, name: e, secret: i }?: {
|
|
36
|
+
id?: any;
|
|
37
|
+
name?: any;
|
|
38
|
+
}): {
|
|
39
|
+
id: any;
|
|
40
|
+
type: string;
|
|
41
|
+
meta: {
|
|
42
|
+
name: any;
|
|
43
|
+
};
|
|
44
|
+
secret: any;
|
|
45
|
+
};
|
|
46
|
+
userAndPassword({ id: a, name: e, notes: i, secret: r }?: {
|
|
47
|
+
id?: any;
|
|
48
|
+
name?: any;
|
|
49
|
+
notes?: any;
|
|
50
|
+
}): {
|
|
51
|
+
id: any;
|
|
52
|
+
type: string;
|
|
53
|
+
meta: {
|
|
54
|
+
name: any;
|
|
55
|
+
notes: any;
|
|
56
|
+
};
|
|
57
|
+
secret: any;
|
|
58
|
+
};
|
|
59
|
+
recoveryCode({ id: a, name: e, notes: i, secret: r }?: {
|
|
60
|
+
id?: any;
|
|
61
|
+
name?: any;
|
|
62
|
+
notes?: any;
|
|
63
|
+
}): {
|
|
64
|
+
id: any;
|
|
65
|
+
type: string;
|
|
66
|
+
meta: {
|
|
67
|
+
name: any;
|
|
68
|
+
notes: any;
|
|
69
|
+
};
|
|
70
|
+
secret: any;
|
|
71
|
+
};
|
|
72
|
+
pinCode({ id: a, name: e, notes: i, secret: r }?: {
|
|
73
|
+
id?: any;
|
|
74
|
+
name?: any;
|
|
75
|
+
notes?: any;
|
|
76
|
+
}): {
|
|
77
|
+
id: any;
|
|
78
|
+
type: string;
|
|
79
|
+
meta: {
|
|
80
|
+
name: any;
|
|
81
|
+
notes: any;
|
|
82
|
+
};
|
|
83
|
+
secret: any;
|
|
84
|
+
};
|
|
85
|
+
apiKey({ id: a, name: e, notes: i, secret: r }?: {
|
|
86
|
+
id?: any;
|
|
87
|
+
name?: any;
|
|
88
|
+
notes?: any;
|
|
89
|
+
}): {
|
|
90
|
+
id: any;
|
|
91
|
+
type: string;
|
|
92
|
+
meta: {
|
|
93
|
+
name: any;
|
|
94
|
+
notes: any;
|
|
95
|
+
};
|
|
96
|
+
secret: any;
|
|
97
|
+
};
|
|
98
|
+
privateKey({ id: a, name: e, notes: i, secret: r }?: {
|
|
99
|
+
id?: any;
|
|
100
|
+
name?: any;
|
|
101
|
+
notes?: any;
|
|
102
|
+
}): {
|
|
103
|
+
id: any;
|
|
104
|
+
type: string;
|
|
105
|
+
meta: {
|
|
106
|
+
name: any;
|
|
107
|
+
notes: any;
|
|
108
|
+
};
|
|
109
|
+
secret: any;
|
|
110
|
+
};
|
|
111
|
+
seedPhrase({ id: a, name: e, notes: i, typeLength: r, secret: n }?: {
|
|
112
|
+
id?: any;
|
|
113
|
+
name?: any;
|
|
114
|
+
notes?: any;
|
|
115
|
+
typeLength?: any;
|
|
116
|
+
}): {
|
|
117
|
+
id: any;
|
|
118
|
+
type: string;
|
|
119
|
+
meta: {
|
|
120
|
+
name: any;
|
|
121
|
+
notes: any;
|
|
122
|
+
};
|
|
123
|
+
secret: any;
|
|
124
|
+
};
|
|
125
|
+
paymentDebitCard({ id: a, name: e, notes: i, secret: r }?: {
|
|
126
|
+
id?: any;
|
|
127
|
+
name?: any;
|
|
128
|
+
notes?: any;
|
|
129
|
+
}): {
|
|
130
|
+
id: any;
|
|
131
|
+
type: string;
|
|
132
|
+
meta: {
|
|
133
|
+
name: any;
|
|
134
|
+
notes: any;
|
|
135
|
+
};
|
|
136
|
+
secret: any;
|
|
137
|
+
};
|
|
138
|
+
pdf({ id: a, name: e }?: {
|
|
139
|
+
id?: any;
|
|
140
|
+
name?: any;
|
|
141
|
+
}): {
|
|
142
|
+
id: any;
|
|
143
|
+
type: string;
|
|
144
|
+
meta: {
|
|
145
|
+
name: any;
|
|
146
|
+
mimeType: string;
|
|
147
|
+
isMedia: boolean;
|
|
148
|
+
};
|
|
149
|
+
secret: {
|
|
150
|
+
data: string;
|
|
151
|
+
mimeType: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
video({ id: a, name: e }?: {
|
|
155
|
+
id?: any;
|
|
156
|
+
name?: any;
|
|
157
|
+
}): {
|
|
158
|
+
id: any;
|
|
159
|
+
type: string;
|
|
160
|
+
meta: {
|
|
161
|
+
name: any;
|
|
162
|
+
mimeType: string;
|
|
163
|
+
isMedia: boolean;
|
|
164
|
+
};
|
|
165
|
+
secret: {
|
|
166
|
+
data: string;
|
|
167
|
+
mimeType: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
paymentCreditCard({ id: a, name: e, notes: i, secret: r }?: {
|
|
171
|
+
id?: any;
|
|
172
|
+
name?: any;
|
|
173
|
+
notes?: any;
|
|
174
|
+
}): {
|
|
175
|
+
id: any;
|
|
176
|
+
type: string;
|
|
177
|
+
meta: {
|
|
178
|
+
name: any;
|
|
179
|
+
notes: any;
|
|
180
|
+
};
|
|
181
|
+
secret: any;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
2
185
|
export { TestKeyVault, TestStatePort } from './src/elements/test-doubles';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safetech/inheriti-client-sdk",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@safetech/safekey-sdk": "^1.0.0",
|
|
45
|
-
"@safetech/inheriti-core-sdk": "4.0.
|
|
45
|
+
"@safetech/inheriti-core-sdk": "4.0.28"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@rollup/plugin-alias": "^5.1.1",
|
|
@@ -87,11 +87,6 @@
|
|
|
87
87
|
"publish-npm": "node esbuild.config.js && node scripts/publish-npm.js"
|
|
88
88
|
},
|
|
89
89
|
"files": [
|
|
90
|
-
"dist"
|
|
91
|
-
"README.md",
|
|
92
|
-
"LICENSE",
|
|
93
|
-
"docs",
|
|
94
|
-
"index.ts",
|
|
95
|
-
"node.ts"
|
|
90
|
+
"dist"
|
|
96
91
|
]
|
|
97
|
-
}
|
|
92
|
+
}
|