@notabene/javascript-sdk 2.14.1-next.3 → 2.14.2-next.2
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/README.md +5 -4
- package/dist/cjs/notabene.d.ts +1 -0
- package/dist/cjs/package.json +1 -1
- package/dist/esm/notabene.d.ts +1 -0
- package/dist/esm/package.json +1 -1
- package/dist/notabene.d.ts +1 -0
- package/package.json +1 -1
- package/src/types.ts +1 -0
package/README.md
CHANGED
|
@@ -1043,10 +1043,11 @@ const notabene = new Notabene({
|
|
|
1043
1043
|
nodeUrl: 'https://api.notabene.id',
|
|
1044
1044
|
authToken: 'YOUR_CUSTOMER_TOKEN',
|
|
1045
1045
|
theme: {
|
|
1046
|
-
mode: 'light',
|
|
1047
|
-
primaryColor: '#0a852d',
|
|
1048
|
-
|
|
1049
|
-
|
|
1046
|
+
mode: 'light', // Color mode: 'light' or 'dark'
|
|
1047
|
+
primaryColor: '#0a852d', // Main brand color (buttons, highlights, accents)
|
|
1048
|
+
primaryForeground: '#000000', // Text/icon color displayed on top of primaryColor
|
|
1049
|
+
backgroundColor: '#ffffff', // Base background color for the component
|
|
1050
|
+
fontFamily: 'Montserrat' // Font family (supports Google Fonts)
|
|
1050
1051
|
}
|
|
1051
1052
|
});
|
|
1052
1053
|
```
|
package/dist/cjs/notabene.d.ts
CHANGED
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.
|
|
13
|
+
"version": "2.14.2-next.2",
|
|
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
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.
|
|
13
|
+
"version": "2.14.2-next.2",
|
|
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
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.
|
|
13
|
+
"version": "2.14.2-next.2",
|
|
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
|
@@ -892,6 +892,7 @@ export interface TransactionOptions {
|
|
|
892
892
|
hide?: ValidationSections[]; // You can hide a specific section of the component by listing it here
|
|
893
893
|
counterpartyAssist?: CounterpartyAssistConfig;
|
|
894
894
|
autoSubmit?: boolean; // Defaults to false
|
|
895
|
+
supportUrl?: string;
|
|
895
896
|
}
|
|
896
897
|
/**
|
|
897
898
|
* Component Message Type enum representing different message types that can be sent
|