@notabene/javascript-sdk 2.14.1-next.2 → 2.14.1-next.3
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 +5 -2
- package/dist/cjs/package.json +1 -1
- package/dist/esm/notabene.d.ts +5 -2
- package/dist/esm/package.json +1 -1
- package/dist/notabene.d.ts +5 -2
- package/package.json +1 -1
- package/src/types.ts +5 -2
- package/src/utils/arbitraries.ts +1 -1
package/dist/cjs/notabene.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ declare type Beneficiary = {
|
|
|
104
104
|
* @public
|
|
105
105
|
*/
|
|
106
106
|
declare type BeneficiaryFields = {
|
|
107
|
-
destination
|
|
107
|
+
destination: Destination;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
declare type BeneficiaryV2 = {
|
|
@@ -1495,7 +1495,7 @@ declare type Originator = {
|
|
|
1495
1495
|
* @public
|
|
1496
1496
|
*/
|
|
1497
1497
|
declare type OriginatorFields = {
|
|
1498
|
-
source
|
|
1498
|
+
source: Source | Source[];
|
|
1499
1499
|
};
|
|
1500
1500
|
|
|
1501
1501
|
declare type OriginatorV2 = {
|
|
@@ -1821,8 +1821,11 @@ export declare enum Status {
|
|
|
1821
1821
|
*/
|
|
1822
1822
|
export declare type Theme = {
|
|
1823
1823
|
mode: 'light' | 'dark';
|
|
1824
|
+
backgroundColor?: string;
|
|
1824
1825
|
primaryColor?: string;
|
|
1826
|
+
primaryForeground?: string;
|
|
1825
1827
|
secondaryColor?: string;
|
|
1828
|
+
secondaryForeground?: string;
|
|
1826
1829
|
fontFamily?: string;
|
|
1827
1830
|
logo?: string;
|
|
1828
1831
|
};
|
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.14.1-next.
|
|
13
|
+
"version": "2.14.1-next.3",
|
|
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
|
@@ -104,7 +104,7 @@ declare type Beneficiary = {
|
|
|
104
104
|
* @public
|
|
105
105
|
*/
|
|
106
106
|
declare type BeneficiaryFields = {
|
|
107
|
-
destination
|
|
107
|
+
destination: Destination;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
declare type BeneficiaryV2 = {
|
|
@@ -1495,7 +1495,7 @@ declare type Originator = {
|
|
|
1495
1495
|
* @public
|
|
1496
1496
|
*/
|
|
1497
1497
|
declare type OriginatorFields = {
|
|
1498
|
-
source
|
|
1498
|
+
source: Source | Source[];
|
|
1499
1499
|
};
|
|
1500
1500
|
|
|
1501
1501
|
declare type OriginatorV2 = {
|
|
@@ -1821,8 +1821,11 @@ export declare enum Status {
|
|
|
1821
1821
|
*/
|
|
1822
1822
|
export declare type Theme = {
|
|
1823
1823
|
mode: 'light' | 'dark';
|
|
1824
|
+
backgroundColor?: string;
|
|
1824
1825
|
primaryColor?: string;
|
|
1826
|
+
primaryForeground?: string;
|
|
1825
1827
|
secondaryColor?: string;
|
|
1828
|
+
secondaryForeground?: string;
|
|
1826
1829
|
fontFamily?: string;
|
|
1827
1830
|
logo?: string;
|
|
1828
1831
|
};
|
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.14.1-next.
|
|
13
|
+
"version": "2.14.1-next.3",
|
|
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
|
@@ -104,7 +104,7 @@ declare type Beneficiary = {
|
|
|
104
104
|
* @public
|
|
105
105
|
*/
|
|
106
106
|
declare type BeneficiaryFields = {
|
|
107
|
-
destination
|
|
107
|
+
destination: Destination;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
declare type BeneficiaryV2 = {
|
|
@@ -1495,7 +1495,7 @@ declare type Originator = {
|
|
|
1495
1495
|
* @public
|
|
1496
1496
|
*/
|
|
1497
1497
|
declare type OriginatorFields = {
|
|
1498
|
-
source
|
|
1498
|
+
source: Source | Source[];
|
|
1499
1499
|
};
|
|
1500
1500
|
|
|
1501
1501
|
declare type OriginatorV2 = {
|
|
@@ -1821,8 +1821,11 @@ export declare enum Status {
|
|
|
1821
1821
|
*/
|
|
1822
1822
|
export declare type Theme = {
|
|
1823
1823
|
mode: 'light' | 'dark';
|
|
1824
|
+
backgroundColor?: string;
|
|
1824
1825
|
primaryColor?: string;
|
|
1826
|
+
primaryForeground?: string;
|
|
1825
1827
|
secondaryColor?: string;
|
|
1828
|
+
secondaryForeground?: string;
|
|
1826
1829
|
fontFamily?: string;
|
|
1827
1830
|
logo?: string;
|
|
1828
1831
|
};
|
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.14.1-next.
|
|
13
|
+
"version": "2.14.1-next.3",
|
|
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
|
@@ -237,8 +237,11 @@ export type ISOCurrency = string;
|
|
|
237
237
|
*/
|
|
238
238
|
export type Theme = {
|
|
239
239
|
mode: 'light' | 'dark'; // Defaults to 'light'
|
|
240
|
+
backgroundColor?: string;
|
|
240
241
|
primaryColor?: string;
|
|
242
|
+
primaryForeground?: string;
|
|
241
243
|
secondaryColor?: string;
|
|
244
|
+
secondaryForeground?: string;
|
|
242
245
|
fontFamily?: string;
|
|
243
246
|
logo?: string;
|
|
244
247
|
};
|
|
@@ -491,7 +494,7 @@ export type LegalPersonFields = Partial<{
|
|
|
491
494
|
* @public
|
|
492
495
|
*/
|
|
493
496
|
type OriginatorFields = {
|
|
494
|
-
source
|
|
497
|
+
source: Source | Source[];
|
|
495
498
|
};
|
|
496
499
|
|
|
497
500
|
/**
|
|
@@ -499,7 +502,7 @@ type OriginatorFields = {
|
|
|
499
502
|
* @public
|
|
500
503
|
*/
|
|
501
504
|
type BeneficiaryFields = {
|
|
502
|
-
destination
|
|
505
|
+
destination: Destination;
|
|
503
506
|
};
|
|
504
507
|
|
|
505
508
|
/**
|
package/src/utils/arbitraries.ts
CHANGED
|
@@ -250,5 +250,5 @@ export const arbitraryDeposit = (): fc.Arbitrary<Deposit> =>
|
|
|
250
250
|
asset: arbitraryTransactionAsset(),
|
|
251
251
|
amountDecimal: fc.float({ min: 0, max: 1e6 }),
|
|
252
252
|
origin: fc.oneof(arbitraryBlockchainAddress(), arbitraryCAIP10()),
|
|
253
|
-
|
|
253
|
+
source: fc.oneof(arbitraryBlockchainAddress(), arbitraryCAIP10()),
|
|
254
254
|
});
|