@dynamic-labs-wallet/node-svm 1.1.29 → 1.1.31
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.cjs +3 -2
- package/index.esm.js +3 -2
- package/package.json +2 -2
- package/src/delegatedClient.d.ts +3 -1
- package/src/delegatedClient.d.ts.map +1 -1
package/index.cjs
CHANGED
|
@@ -578,13 +578,14 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
|
|
|
578
578
|
const logError = node.createLogError('node-svm');
|
|
579
579
|
/**
|
|
580
580
|
* Creates a delegated SVM wallet client for functional operations
|
|
581
|
-
*/ const createDelegatedSvmWalletClient = ({ environmentId, baseApiUrl, baseMPCRelayApiUrl, apiKey, debug = false })=>{
|
|
581
|
+
*/ const createDelegatedSvmWalletClient = ({ environmentId, baseApiUrl, baseMPCRelayApiUrl, apiKey, debug = false, errorLogging })=>{
|
|
582
582
|
const baseClient = node.createDelegatedWalletClient({
|
|
583
583
|
environmentId,
|
|
584
584
|
baseApiUrl,
|
|
585
585
|
baseMPCRelayApiUrl,
|
|
586
586
|
apiKey,
|
|
587
|
-
debug
|
|
587
|
+
debug,
|
|
588
|
+
errorLogging
|
|
588
589
|
});
|
|
589
590
|
return _extends({}, baseClient, {
|
|
590
591
|
chainName: 'SVM'
|
package/index.esm.js
CHANGED
|
@@ -576,13 +576,14 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
|
|
|
576
576
|
const logError = createLogError('node-svm');
|
|
577
577
|
/**
|
|
578
578
|
* Creates a delegated SVM wallet client for functional operations
|
|
579
|
-
*/ const createDelegatedSvmWalletClient = ({ environmentId, baseApiUrl, baseMPCRelayApiUrl, apiKey, debug = false })=>{
|
|
579
|
+
*/ const createDelegatedSvmWalletClient = ({ environmentId, baseApiUrl, baseMPCRelayApiUrl, apiKey, debug = false, errorLogging })=>{
|
|
580
580
|
const baseClient = createDelegatedWalletClient({
|
|
581
581
|
environmentId,
|
|
582
582
|
baseApiUrl,
|
|
583
583
|
baseMPCRelayApiUrl,
|
|
584
584
|
apiKey,
|
|
585
|
-
debug
|
|
585
|
+
debug,
|
|
586
|
+
errorLogging
|
|
586
587
|
});
|
|
587
588
|
return _extends({}, baseClient, {
|
|
588
589
|
chainName: 'SVM'
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/node-svm",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.31",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dynamic-labs-wallet/node": "1.1.
|
|
7
|
+
"@dynamic-labs-wallet/node": "1.1.31",
|
|
8
8
|
"@solana/web3.js": "^1.98.2"
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
package/src/delegatedClient.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export type DelegatedSvmClientConfig = {
|
|
|
7
7
|
baseMPCRelayApiUrl?: string;
|
|
8
8
|
apiKey: string;
|
|
9
9
|
debug?: boolean;
|
|
10
|
+
/** @default true — see `CoreConfig.errorLogging` */
|
|
11
|
+
errorLogging?: boolean;
|
|
10
12
|
};
|
|
11
13
|
export type DelegatedSvmWalletClient = DelegatedWalletClient & {
|
|
12
14
|
readonly chainName: 'SVM';
|
|
@@ -14,7 +16,7 @@ export type DelegatedSvmWalletClient = DelegatedWalletClient & {
|
|
|
14
16
|
/**
|
|
15
17
|
* Creates a delegated SVM wallet client for functional operations
|
|
16
18
|
*/
|
|
17
|
-
export declare const createDelegatedSvmWalletClient: ({ environmentId, baseApiUrl, baseMPCRelayApiUrl, apiKey, debug, }: DelegatedSvmClientConfig) => DelegatedSvmWalletClient;
|
|
19
|
+
export declare const createDelegatedSvmWalletClient: ({ environmentId, baseApiUrl, baseMPCRelayApiUrl, apiKey, debug, errorLogging, }: DelegatedSvmClientConfig) => DelegatedSvmWalletClient;
|
|
18
20
|
/**
|
|
19
21
|
* Signs a message using delegated signing for SVM
|
|
20
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegatedClient.d.ts","sourceRoot":"","sources":["../../packages/src/delegatedClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AAWnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAa,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAMlE,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"delegatedClient.d.ts","sourceRoot":"","sources":["../../packages/src/delegatedClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AAWnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAa,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAMlE,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oDAAoD;IACpD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,qBAAqB,GAAG;IAC7D,QAAQ,CAAC,SAAS,EA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