@notabene/javascript-sdk 2.20.0-next.3 → 2.20.0-next.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/dist/cjs/notabene.d.ts +24 -0
- package/dist/cjs/package.json +1 -1
- package/dist/esm/notabene.d.ts +24 -0
- package/dist/esm/package.json +1 -1
- package/dist/notabene.d.ts +24 -0
- package/package.json +1 -1
- package/src/types.ts +24 -0
package/dist/cjs/notabene.d.ts
CHANGED
|
@@ -3347,6 +3347,30 @@ export declare interface TransactionOptions {
|
|
|
3347
3347
|
contactSupport?: ContactSupportConfig;
|
|
3348
3348
|
consent?: ConsentConfig;
|
|
3349
3349
|
autoSubmit?: boolean;
|
|
3350
|
+
/**
|
|
3351
|
+
* Wallet connection behaviour.
|
|
3352
|
+
*/
|
|
3353
|
+
wallets?: {
|
|
3354
|
+
/**
|
|
3355
|
+
* EXPERIMENTAL. No stability guarantee; may change or be removed in a minor release.
|
|
3356
|
+
*
|
|
3357
|
+
* Prefer a wallet's `https://` universal link over its custom scheme (for example
|
|
3358
|
+
* `metamask://`) when connecting a mobile wallet. Useful when embedding inside a mobile
|
|
3359
|
+
* in-app webview, which cannot launch another app on its own and so needs the host app
|
|
3360
|
+
* to handle every custom scheme it might encounter.
|
|
3361
|
+
*
|
|
3362
|
+
* Off by default. Has no effect for wallets whose registry entry declares no universal
|
|
3363
|
+
* link, which is most of them today. Where a wallet does declare one, this also changes
|
|
3364
|
+
* behaviour in an ordinary mobile browser, and a universal link can be worse there if
|
|
3365
|
+
* the wallet's Android app links are not verified.
|
|
3366
|
+
*
|
|
3367
|
+
* Behaviour therefore depends on the wallet and on your host app. Verify against the
|
|
3368
|
+
* wallets your users actually use before enabling this in production.
|
|
3369
|
+
*
|
|
3370
|
+
* @defaultValue false
|
|
3371
|
+
*/
|
|
3372
|
+
experimentalPreferUniversalLinks?: boolean;
|
|
3373
|
+
};
|
|
3350
3374
|
}
|
|
3351
3375
|
|
|
3352
3376
|
/**
|
package/dist/cjs/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "Notabene <developers@notabene.id>",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"packageManager": "yarn@4.5.1",
|
|
13
|
-
"version": "2.20.0-next.
|
|
13
|
+
"version": "2.20.0-next.4",
|
|
14
14
|
"source": "src/notabene.ts",
|
|
15
15
|
"main": "dist/cjs/notabene.cjs",
|
|
16
16
|
"module": "dist/esm/notabene.js",
|
package/dist/esm/notabene.d.ts
CHANGED
|
@@ -3347,6 +3347,30 @@ export declare interface TransactionOptions {
|
|
|
3347
3347
|
contactSupport?: ContactSupportConfig;
|
|
3348
3348
|
consent?: ConsentConfig;
|
|
3349
3349
|
autoSubmit?: boolean;
|
|
3350
|
+
/**
|
|
3351
|
+
* Wallet connection behaviour.
|
|
3352
|
+
*/
|
|
3353
|
+
wallets?: {
|
|
3354
|
+
/**
|
|
3355
|
+
* EXPERIMENTAL. No stability guarantee; may change or be removed in a minor release.
|
|
3356
|
+
*
|
|
3357
|
+
* Prefer a wallet's `https://` universal link over its custom scheme (for example
|
|
3358
|
+
* `metamask://`) when connecting a mobile wallet. Useful when embedding inside a mobile
|
|
3359
|
+
* in-app webview, which cannot launch another app on its own and so needs the host app
|
|
3360
|
+
* to handle every custom scheme it might encounter.
|
|
3361
|
+
*
|
|
3362
|
+
* Off by default. Has no effect for wallets whose registry entry declares no universal
|
|
3363
|
+
* link, which is most of them today. Where a wallet does declare one, this also changes
|
|
3364
|
+
* behaviour in an ordinary mobile browser, and a universal link can be worse there if
|
|
3365
|
+
* the wallet's Android app links are not verified.
|
|
3366
|
+
*
|
|
3367
|
+
* Behaviour therefore depends on the wallet and on your host app. Verify against the
|
|
3368
|
+
* wallets your users actually use before enabling this in production.
|
|
3369
|
+
*
|
|
3370
|
+
* @defaultValue false
|
|
3371
|
+
*/
|
|
3372
|
+
experimentalPreferUniversalLinks?: boolean;
|
|
3373
|
+
};
|
|
3350
3374
|
}
|
|
3351
3375
|
|
|
3352
3376
|
/**
|
package/dist/esm/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "Notabene <developers@notabene.id>",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"packageManager": "yarn@4.5.1",
|
|
13
|
-
"version": "2.20.0-next.
|
|
13
|
+
"version": "2.20.0-next.4",
|
|
14
14
|
"source": "src/notabene.ts",
|
|
15
15
|
"main": "dist/cjs/notabene.cjs",
|
|
16
16
|
"module": "dist/esm/notabene.js",
|
package/dist/notabene.d.ts
CHANGED
|
@@ -3347,6 +3347,30 @@ export declare interface TransactionOptions {
|
|
|
3347
3347
|
contactSupport?: ContactSupportConfig;
|
|
3348
3348
|
consent?: ConsentConfig;
|
|
3349
3349
|
autoSubmit?: boolean;
|
|
3350
|
+
/**
|
|
3351
|
+
* Wallet connection behaviour.
|
|
3352
|
+
*/
|
|
3353
|
+
wallets?: {
|
|
3354
|
+
/**
|
|
3355
|
+
* EXPERIMENTAL. No stability guarantee; may change or be removed in a minor release.
|
|
3356
|
+
*
|
|
3357
|
+
* Prefer a wallet's `https://` universal link over its custom scheme (for example
|
|
3358
|
+
* `metamask://`) when connecting a mobile wallet. Useful when embedding inside a mobile
|
|
3359
|
+
* in-app webview, which cannot launch another app on its own and so needs the host app
|
|
3360
|
+
* to handle every custom scheme it might encounter.
|
|
3361
|
+
*
|
|
3362
|
+
* Off by default. Has no effect for wallets whose registry entry declares no universal
|
|
3363
|
+
* link, which is most of them today. Where a wallet does declare one, this also changes
|
|
3364
|
+
* behaviour in an ordinary mobile browser, and a universal link can be worse there if
|
|
3365
|
+
* the wallet's Android app links are not verified.
|
|
3366
|
+
*
|
|
3367
|
+
* Behaviour therefore depends on the wallet and on your host app. Verify against the
|
|
3368
|
+
* wallets your users actually use before enabling this in production.
|
|
3369
|
+
*
|
|
3370
|
+
* @defaultValue false
|
|
3371
|
+
*/
|
|
3372
|
+
experimentalPreferUniversalLinks?: boolean;
|
|
3373
|
+
};
|
|
3350
3374
|
}
|
|
3351
3375
|
|
|
3352
3376
|
/**
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "Notabene <developers@notabene.id>",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"packageManager": "yarn@4.5.1",
|
|
13
|
-
"version": "2.20.0-next.
|
|
13
|
+
"version": "2.20.0-next.4",
|
|
14
14
|
"source": "src/notabene.ts",
|
|
15
15
|
"main": "dist/cjs/notabene.cjs",
|
|
16
16
|
"module": "dist/esm/notabene.js",
|
package/src/types.ts
CHANGED
|
@@ -1044,6 +1044,30 @@ export interface TransactionOptions {
|
|
|
1044
1044
|
contactSupport?: ContactSupportConfig; // Requires 'contact-support' in agentSections
|
|
1045
1045
|
consent?: ConsentConfig; // Defaults to true
|
|
1046
1046
|
autoSubmit?: boolean; // Defaults to false
|
|
1047
|
+
/**
|
|
1048
|
+
* Wallet connection behaviour.
|
|
1049
|
+
*/
|
|
1050
|
+
wallets?: {
|
|
1051
|
+
/**
|
|
1052
|
+
* EXPERIMENTAL. No stability guarantee; may change or be removed in a minor release.
|
|
1053
|
+
*
|
|
1054
|
+
* Prefer a wallet's `https://` universal link over its custom scheme (for example
|
|
1055
|
+
* `metamask://`) when connecting a mobile wallet. Useful when embedding inside a mobile
|
|
1056
|
+
* in-app webview, which cannot launch another app on its own and so needs the host app
|
|
1057
|
+
* to handle every custom scheme it might encounter.
|
|
1058
|
+
*
|
|
1059
|
+
* Off by default. Has no effect for wallets whose registry entry declares no universal
|
|
1060
|
+
* link, which is most of them today. Where a wallet does declare one, this also changes
|
|
1061
|
+
* behaviour in an ordinary mobile browser, and a universal link can be worse there if
|
|
1062
|
+
* the wallet's Android app links are not verified.
|
|
1063
|
+
*
|
|
1064
|
+
* Behaviour therefore depends on the wallet and on your host app. Verify against the
|
|
1065
|
+
* wallets your users actually use before enabling this in production.
|
|
1066
|
+
*
|
|
1067
|
+
* @defaultValue false
|
|
1068
|
+
*/
|
|
1069
|
+
experimentalPreferUniversalLinks?: boolean;
|
|
1070
|
+
};
|
|
1047
1071
|
}
|
|
1048
1072
|
/**
|
|
1049
1073
|
* Component Message Type enum representing different message types that can be sent
|