@dynamic-labs-wallet/core 0.0.2 → 0.0.4
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/index.esm.js +64 -34
- package/package.json +1 -1
- package/src/api/api.d.ts +29 -17
- package/src/api/api.d.ts.map +1 -1
- package/src/api/client.d.ts +1 -1
- package/src/api/client.d.ts.map +1 -1
- package/src/api/index.d.ts.map +1 -1
- package/src/constants.d.ts.map +1 -1
- package/src/index.d.ts.map +1 -1
- package/src/mpc/constants.d.ts +12 -0
- package/src/mpc/constants.d.ts.map +1 -1
- package/src/mpc/index.d.ts.map +1 -1
- package/src/types.d.ts.map +1 -1
package/index.esm.js
CHANGED
|
@@ -3,12 +3,12 @@ import axios from 'axios';
|
|
|
3
3
|
const RELAY_API_URL = 'relay.dynamic-preprod.xyz';
|
|
4
4
|
const DYNAMIC_AUTH_BASE_API_URL = 'https://app.dynamicauth.com';
|
|
5
5
|
|
|
6
|
-
var SigningAlgorithm
|
|
7
|
-
(function(SigningAlgorithm) {
|
|
6
|
+
var SigningAlgorithm = /*#__PURE__*/ function(SigningAlgorithm) {
|
|
8
7
|
SigningAlgorithm["ECDSA"] = "ECDSA";
|
|
9
8
|
SigningAlgorithm["ED25519"] = "ED25519";
|
|
10
9
|
SigningAlgorithm["BIP340"] = "BIP340";
|
|
11
|
-
|
|
10
|
+
return SigningAlgorithm;
|
|
11
|
+
}({});
|
|
12
12
|
const BITCOIN_DERIVATION_PATHS = {
|
|
13
13
|
LEGACY: [
|
|
14
14
|
44,
|
|
@@ -92,26 +92,45 @@ const getMPCChainConfig = (chainName)=>{
|
|
|
92
92
|
}
|
|
93
93
|
return chainConfig;
|
|
94
94
|
};
|
|
95
|
-
var ThresholdSignatureScheme
|
|
96
|
-
(function(ThresholdSignatureScheme) {
|
|
95
|
+
var ThresholdSignatureScheme = /*#__PURE__*/ function(ThresholdSignatureScheme) {
|
|
97
96
|
ThresholdSignatureScheme["TWO_OF_TWO"] = "TWO_OF_TWO";
|
|
98
97
|
ThresholdSignatureScheme["TWO_OF_THREE"] = "TWO_OF_THREE";
|
|
99
98
|
ThresholdSignatureScheme["THREE_OF_FIVE"] = "THREE_OF_FIVE";
|
|
100
|
-
|
|
99
|
+
return ThresholdSignatureScheme;
|
|
100
|
+
}({});
|
|
101
101
|
const MPC_CONFIG = {
|
|
102
102
|
["TWO_OF_TWO"]: {
|
|
103
103
|
numberOfParties: 2,
|
|
104
|
-
threshold: 2
|
|
104
|
+
threshold: 2,
|
|
105
|
+
clientThreshold: 1,
|
|
106
|
+
dynamicServerThreshold: 1
|
|
105
107
|
},
|
|
106
108
|
["TWO_OF_THREE"]: {
|
|
107
109
|
numberOfParties: 3,
|
|
108
|
-
threshold: 2
|
|
110
|
+
threshold: 2,
|
|
111
|
+
clientThreshold: 2,
|
|
112
|
+
dynamicServerThreshold: 1
|
|
109
113
|
},
|
|
110
114
|
["THREE_OF_FIVE"]: {
|
|
111
115
|
numberOfParties: 5,
|
|
112
|
-
threshold: 3
|
|
116
|
+
threshold: 3,
|
|
117
|
+
clientThreshold: 3,
|
|
118
|
+
dynamicServerThreshold: 2
|
|
113
119
|
}
|
|
114
120
|
};
|
|
121
|
+
const getTSSConfig = (thresholdSignatureScheme)=>{
|
|
122
|
+
const { threshold, numberOfParties } = MPC_CONFIG[thresholdSignatureScheme];
|
|
123
|
+
return {
|
|
124
|
+
threshold,
|
|
125
|
+
numberOfParties
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
const getClientThreshold = (thresholdSignatureScheme)=>{
|
|
129
|
+
return MPC_CONFIG[thresholdSignatureScheme].clientThreshold;
|
|
130
|
+
};
|
|
131
|
+
const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
|
|
132
|
+
return MPC_CONFIG[thresholdSignatureScheme].dynamicServerThreshold;
|
|
133
|
+
};
|
|
115
134
|
|
|
116
135
|
class BaseClient {
|
|
117
136
|
constructor({ environmentId, baseApiUrl, authToken }){
|
|
@@ -127,46 +146,49 @@ class BaseClient {
|
|
|
127
146
|
}
|
|
128
147
|
|
|
129
148
|
class DynamicApiClient extends BaseClient {
|
|
130
|
-
async createWalletAccount({ chainName,
|
|
149
|
+
async createWalletAccount({ chainName, clientKeygenIds, thresholdSignatureScheme }) {
|
|
131
150
|
// Initilize keygen, create room, and create the wallet account on the server
|
|
132
|
-
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/
|
|
151
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/create`, {
|
|
133
152
|
chain: chainName,
|
|
134
|
-
|
|
135
|
-
|
|
153
|
+
clientKeygenIds,
|
|
154
|
+
thresholdSignatureScheme
|
|
136
155
|
});
|
|
137
156
|
return data;
|
|
138
157
|
}
|
|
139
|
-
async signMessage({
|
|
140
|
-
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/
|
|
141
|
-
|
|
158
|
+
async signMessage({ walletId, message }) {
|
|
159
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/${walletId}/signMessage`, {
|
|
160
|
+
message
|
|
142
161
|
});
|
|
143
162
|
return data;
|
|
144
163
|
}
|
|
145
|
-
async refreshWalletAccountShares() {
|
|
146
|
-
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/
|
|
164
|
+
async refreshWalletAccountShares({ walletId }) {
|
|
165
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/${walletId}/refresh`);
|
|
147
166
|
return data;
|
|
148
167
|
}
|
|
149
|
-
async reshareRemainingParty({
|
|
150
|
-
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/
|
|
151
|
-
|
|
152
|
-
clientBackupKeygenId: clientSecondaryKeygenId
|
|
168
|
+
async reshareRemainingParty({ walletId, clientKeygenIds }) {
|
|
169
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/${walletId}/reshare`, {
|
|
170
|
+
clientKeygenIds
|
|
153
171
|
});
|
|
154
172
|
return data;
|
|
155
173
|
}
|
|
156
|
-
async exportKey({ exportId }) {
|
|
157
|
-
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/
|
|
174
|
+
async exportKey({ walletId, exportId }) {
|
|
175
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/${walletId}/privateKey/export`, {
|
|
158
176
|
exportId
|
|
159
177
|
});
|
|
160
178
|
return data;
|
|
161
179
|
}
|
|
162
|
-
async
|
|
163
|
-
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/
|
|
164
|
-
|
|
180
|
+
async storeEncryptedBackupByWallet({ walletId, encryptedKeyShares, passwordEncrypted }) {
|
|
181
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/${walletId}/keyShares/backup`, {
|
|
182
|
+
// TODO: decide on whether to store encryptedAccountCredentials or encryptedKeyShares as backup
|
|
183
|
+
encryptedAccountCredentials: encryptedKeyShares,
|
|
184
|
+
passwordEncrypted
|
|
165
185
|
});
|
|
166
186
|
return data;
|
|
167
187
|
}
|
|
168
|
-
async
|
|
169
|
-
const { data } = await this.apiClient.
|
|
188
|
+
async recoverEncryptedBackupByWallet({ walletId, keyShareIds }) {
|
|
189
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/${walletId}/keyShares/recover`, keyShareIds ? {
|
|
190
|
+
keyShareIds
|
|
191
|
+
} : undefined);
|
|
170
192
|
return data;
|
|
171
193
|
}
|
|
172
194
|
async getAccessToken({ oauthAccountId }) {
|
|
@@ -175,14 +197,22 @@ class DynamicApiClient extends BaseClient {
|
|
|
175
197
|
return data.accessToken;
|
|
176
198
|
}
|
|
177
199
|
// TODO: return array instead considering cases where server has multiple parties
|
|
178
|
-
async importPrivateKey({ chainName,
|
|
179
|
-
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/
|
|
200
|
+
async importPrivateKey({ chainName, clientKeygenIds, thresholdSignatureScheme }) {
|
|
201
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/waas/privateKey/import`, {
|
|
180
202
|
chain: chainName,
|
|
181
|
-
|
|
182
|
-
|
|
203
|
+
clientKeygenIds,
|
|
204
|
+
thresholdSignatureScheme
|
|
183
205
|
});
|
|
184
206
|
return data;
|
|
185
207
|
}
|
|
208
|
+
async getUser() {
|
|
209
|
+
const { data } = await this.apiClient.get(`/api/v0/sdk/${this.environmentId}/users`);
|
|
210
|
+
return data;
|
|
211
|
+
}
|
|
212
|
+
async refreshUser() {
|
|
213
|
+
const { data } = await this.apiClient.post(`/api/v0/sdk/${this.environmentId}/refresh`, undefined);
|
|
214
|
+
return data;
|
|
215
|
+
}
|
|
186
216
|
constructor({ environmentId, authToken, baseApiUrl }){
|
|
187
217
|
super({
|
|
188
218
|
environmentId,
|
|
@@ -192,4 +222,4 @@ class DynamicApiClient extends BaseClient {
|
|
|
192
222
|
}
|
|
193
223
|
}
|
|
194
224
|
|
|
195
|
-
export { BITCOIN_DERIVATION_PATHS, DYNAMIC_AUTH_BASE_API_URL, DynamicApiClient, MPC_CHAIN_CONFIG, MPC_CONFIG, RELAY_API_URL, SigningAlgorithm, ThresholdSignatureScheme, getMPCChainConfig };
|
|
225
|
+
export { BITCOIN_DERIVATION_PATHS, DYNAMIC_AUTH_BASE_API_URL, DynamicApiClient, MPC_CHAIN_CONFIG, MPC_CONFIG, RELAY_API_URL, SigningAlgorithm, ThresholdSignatureScheme, getClientThreshold, getDynamicServerThreshold, getMPCChainConfig, getTSSConfig };
|
package/package.json
CHANGED
package/src/api/api.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ThresholdSignatureScheme } from '../mpc/constants';
|
|
1
2
|
import { BaseClient } from './client';
|
|
2
3
|
export declare class DynamicApiClient extends BaseClient {
|
|
3
4
|
constructor({ environmentId, authToken, baseApiUrl, }: {
|
|
@@ -5,36 +6,47 @@ export declare class DynamicApiClient extends BaseClient {
|
|
|
5
6
|
authToken: string;
|
|
6
7
|
baseApiUrl?: string;
|
|
7
8
|
});
|
|
8
|
-
createWalletAccount({ chainName,
|
|
9
|
+
createWalletAccount({ chainName, clientKeygenIds, thresholdSignatureScheme, }: {
|
|
9
10
|
chainName: string;
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
clientKeygenIds: string[];
|
|
12
|
+
thresholdSignatureScheme: ThresholdSignatureScheme;
|
|
12
13
|
}): Promise<any>;
|
|
13
|
-
signMessage({
|
|
14
|
-
|
|
14
|
+
signMessage({ walletId, message, }: {
|
|
15
|
+
walletId: string;
|
|
16
|
+
message: string;
|
|
15
17
|
}): Promise<any>;
|
|
16
|
-
refreshWalletAccountShares(
|
|
17
|
-
|
|
18
|
-
clientPrimaryKeygenId: string;
|
|
19
|
-
clientSecondaryKeygenId: string;
|
|
18
|
+
refreshWalletAccountShares({ walletId }: {
|
|
19
|
+
walletId: string;
|
|
20
20
|
}): Promise<any>;
|
|
21
|
-
|
|
21
|
+
reshareRemainingParty({ walletId, clientKeygenIds, }: {
|
|
22
|
+
walletId: string;
|
|
23
|
+
clientKeygenIds: string[];
|
|
24
|
+
}): Promise<any>;
|
|
25
|
+
exportKey({ walletId, exportId, }: {
|
|
26
|
+
walletId: string;
|
|
22
27
|
exportId: string;
|
|
23
28
|
}): Promise<any>;
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
storeEncryptedBackupByWallet({ walletId, encryptedKeyShares, passwordEncrypted, }: {
|
|
30
|
+
walletId: string;
|
|
31
|
+
encryptedKeyShares: string[];
|
|
32
|
+
passwordEncrypted: boolean;
|
|
33
|
+
}): Promise<any>;
|
|
34
|
+
recoverEncryptedBackupByWallet({ walletId, keyShareIds, }: {
|
|
35
|
+
walletId: string;
|
|
36
|
+
keyShareIds?: string[];
|
|
26
37
|
}): Promise<any>;
|
|
27
|
-
recoverEncryptedBackup(): Promise<any>;
|
|
28
38
|
getAccessToken({ oauthAccountId }: {
|
|
29
39
|
oauthAccountId: string;
|
|
30
40
|
}): Promise<any>;
|
|
31
|
-
importPrivateKey({ chainName,
|
|
41
|
+
importPrivateKey({ chainName, clientKeygenIds, thresholdSignatureScheme, }: {
|
|
32
42
|
chainName: string;
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
clientKeygenIds: string[];
|
|
44
|
+
thresholdSignatureScheme: ThresholdSignatureScheme;
|
|
35
45
|
}): Promise<{
|
|
36
46
|
roomId: string;
|
|
37
|
-
|
|
47
|
+
serverKeygenIds: string[];
|
|
38
48
|
}>;
|
|
49
|
+
getUser(): Promise<any>;
|
|
50
|
+
refreshUser(): Promise<any>;
|
|
39
51
|
}
|
|
40
52
|
//# sourceMappingURL=api.d.ts.map
|
package/src/api/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,qBAAa,gBAAiB,SAAQ,UAAU;gBAClC,EACV,aAAa,EACb,SAAS,EACT,UAAU,GACX,EAAE;QACD,aAAa,EAAE,MAAM,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IAIK,mBAAmB,CAAC,EACxB,SAAS,EACT,eAAe,EACf,wBAAwB,GACzB,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,wBAAwB,EAAE,wBAAwB,CAAC;KACpD;IAaK,WAAW,CAAC,EAChB,QAAQ,EACR,OAAO,GACR,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;KACjB;IAUK,0BAA0B,CAAC,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE;IAO7D,qBAAqB,CAAC,EAC1B,QAAQ,EACR,eAAe,GAChB,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,EAAE,CAAC;KAC3B;IAUK,SAAS,CAAC,EACd,QAAQ,EACR,QAAQ,GACT,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB;IAUK,4BAA4B,CAAC,EACjC,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,GAClB,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,kBAAkB,EAAE,MAAM,EAAE,CAAC;QAC7B,iBAAiB,EAAE,OAAO,CAAC;KAC5B;IAYK,8BAA8B,CAAC,EACnC,QAAQ,EACR,WAAW,GACZ,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB;IAQK,cAAc,CAAC,EAAE,cAAc,EAAE,EAAE;QAAE,cAAc,EAAE,MAAM,CAAA;KAAE;IAS7D,gBAAgB,CAAC,EACrB,SAAS,EACT,eAAe,EACf,wBAAwB,GACzB,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,wBAAwB,EAAE,wBAAwB,CAAC;KACpD,GAAG,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAYpD,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC;IAOvB,WAAW,IAAI,OAAO,CAAC,GAAG,CAAC;CAOlC"}
|
package/src/api/client.d.ts
CHANGED
package/src/api/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAGlD,qBAAa,UAAU;IACd,SAAS,EAAE,aAAa,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;gBAEjB,EACV,aAAa,EACb,UAAU,EACV,SAAS,GACV,EAAE;QACD,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CAWF"}
|
package/src/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
package/src/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,8BAA8B,CAAC;AAEzD,eAAO,MAAM,yBAAyB,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../packages/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,8BAA8B,CAAC;AAEzD,eAAO,MAAM,yBAAyB,gCAAgC,CAAC"}
|
package/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
package/src/mpc/constants.d.ts
CHANGED
|
@@ -25,14 +25,26 @@ export declare const MPC_CONFIG: {
|
|
|
25
25
|
TWO_OF_TWO: {
|
|
26
26
|
numberOfParties: number;
|
|
27
27
|
threshold: number;
|
|
28
|
+
clientThreshold: number;
|
|
29
|
+
dynamicServerThreshold: number;
|
|
28
30
|
};
|
|
29
31
|
TWO_OF_THREE: {
|
|
30
32
|
numberOfParties: number;
|
|
31
33
|
threshold: number;
|
|
34
|
+
clientThreshold: number;
|
|
35
|
+
dynamicServerThreshold: number;
|
|
32
36
|
};
|
|
33
37
|
THREE_OF_FIVE: {
|
|
34
38
|
numberOfParties: number;
|
|
35
39
|
threshold: number;
|
|
40
|
+
clientThreshold: number;
|
|
41
|
+
dynamicServerThreshold: number;
|
|
36
42
|
};
|
|
37
43
|
};
|
|
44
|
+
export declare const getTSSConfig: (thresholdSignatureScheme: ThresholdSignatureScheme) => {
|
|
45
|
+
threshold: number;
|
|
46
|
+
numberOfParties: number;
|
|
47
|
+
};
|
|
48
|
+
export declare const getClientThreshold: (thresholdSignatureScheme: ThresholdSignatureScheme) => number;
|
|
49
|
+
export declare const getDynamicServerThreshold: (thresholdSignatureScheme: ThresholdSignatureScheme) => number;
|
|
38
50
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/mpc/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,wBAAwB;;;;CAMpC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,MAAM,EACN;IAAE,cAAc,EAAE,MAAM,EAAE,CAAC;IAAC,gBAAgB,EAAE,gBAAgB,CAAA;CAAE,CA2BjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,cAAe,MAAM;oBA7B/B,MAAM,EAAE;sBAAoB,gBAAgB;CAmC/D,CAAC;AAEF,oBAAY,wBAAwB;IAClC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;CAChC;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;CAmBtB,CAAC;AAEF,eAAO,MAAM,YAAY,6BACG,wBAAwB;;;CAInD,CAAC;AAEF,eAAO,MAAM,kBAAkB,6BACH,wBAAwB,WAGnD,CAAC;AAEF,eAAO,MAAM,yBAAyB,6BACV,wBAAwB,WAGnD,CAAC"}
|
package/src/mpc/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mpc/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
package/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../packages/src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|