@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.
@@ -104,7 +104,7 @@ declare type Beneficiary = {
104
104
  * @public
105
105
  */
106
106
  declare type BeneficiaryFields = {
107
- destination?: 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?: Source | 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
  };
@@ -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.2",
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",
@@ -104,7 +104,7 @@ declare type Beneficiary = {
104
104
  * @public
105
105
  */
106
106
  declare type BeneficiaryFields = {
107
- destination?: 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?: Source | 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
  };
@@ -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.2",
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",
@@ -104,7 +104,7 @@ declare type Beneficiary = {
104
104
  * @public
105
105
  */
106
106
  declare type BeneficiaryFields = {
107
- destination?: 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?: Source | 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.2",
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?: Source | 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?: Destination;
505
+ destination: Destination;
503
506
  };
504
507
 
505
508
  /**
@@ -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
- destination: fc.oneof(arbitraryBlockchainAddress(), arbitraryCAIP10()),
253
+ source: fc.oneof(arbitraryBlockchainAddress(), arbitraryCAIP10()),
254
254
  });