@getpara/web-sdk 0.1.0 → 0.2.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.
|
@@ -61,7 +61,7 @@ export function ed25519Keygen(ctx, userId) {
|
|
|
61
61
|
}
|
|
62
62
|
export function ed25519PreKeygen(ctx, pregenIdentifier, pregenIdentifierType) {
|
|
63
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
const { walletId, protocolId } = yield ctx.client.
|
|
64
|
+
const { walletId, protocolId } = yield ctx.client.createPregenWallet({
|
|
65
65
|
pregenIdentifier,
|
|
66
66
|
pregenIdentifierType,
|
|
67
67
|
scheme: WalletScheme.ED25519,
|
|
@@ -120,7 +120,7 @@ export function keygen(ctx, userId, type, secretKey) {
|
|
|
120
120
|
}
|
|
121
121
|
export function preKeygen(ctx, _partnerId, pregenIdentifier, pregenIdentifierType, type, secretKey) {
|
|
122
122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
-
const { walletId, protocolId } = yield ctx.client.
|
|
123
|
+
const { walletId, protocolId } = yield ctx.client.createPregenWallet({
|
|
124
124
|
pregenIdentifier,
|
|
125
125
|
pregenIdentifierType,
|
|
126
126
|
type,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/web-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"wasm_exec.js"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@getpara/core-sdk": "0.
|
|
12
|
-
"@getpara/user-management-client": "0.
|
|
11
|
+
"@getpara/core-sdk": "0.2.0",
|
|
12
|
+
"@getpara/user-management-client": "0.2.0",
|
|
13
13
|
"assert": "^2.1.0",
|
|
14
14
|
"base64url": "3.0.1",
|
|
15
15
|
"buffer": "6.0.3",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"dist",
|
|
36
36
|
"package.json"
|
|
37
37
|
],
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "9e28f35ede16f3627aeb5baebdf26dae03fa4dcf"
|
|
39
39
|
}
|