brainerce 1.13.0 → 1.14.0
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/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2454,8 +2454,8 @@ interface CustomApiTestResult {
|
|
|
2454
2454
|
* The frontend dynamically loads the SDK script and calls init/render methods.
|
|
2455
2455
|
*/
|
|
2456
2456
|
interface PaymentClientSdk {
|
|
2457
|
-
/** How the payment UI is rendered: 'sdk-widget' (JS SDK), 'iframe', or '
|
|
2458
|
-
renderType: 'sdk-widget' | 'iframe' | 'redirect';
|
|
2457
|
+
/** How the payment UI is rendered: 'sdk-widget' (JS SDK), 'iframe', 'redirect', or 'sandbox' (test orders) */
|
|
2458
|
+
renderType: 'sdk-widget' | 'iframe' | 'redirect' | 'sandbox';
|
|
2459
2459
|
/** URL of the main SDK script to load */
|
|
2460
2460
|
scriptUrl?: string;
|
|
2461
2461
|
/** Name of the global variable set by the SDK script (e.g., 'growPayment') */
|
package/dist/index.d.ts
CHANGED
|
@@ -2454,8 +2454,8 @@ interface CustomApiTestResult {
|
|
|
2454
2454
|
* The frontend dynamically loads the SDK script and calls init/render methods.
|
|
2455
2455
|
*/
|
|
2456
2456
|
interface PaymentClientSdk {
|
|
2457
|
-
/** How the payment UI is rendered: 'sdk-widget' (JS SDK), 'iframe', or '
|
|
2458
|
-
renderType: 'sdk-widget' | 'iframe' | 'redirect';
|
|
2457
|
+
/** How the payment UI is rendered: 'sdk-widget' (JS SDK), 'iframe', 'redirect', or 'sandbox' (test orders) */
|
|
2458
|
+
renderType: 'sdk-widget' | 'iframe' | 'redirect' | 'sandbox';
|
|
2459
2459
|
/** URL of the main SDK script to load */
|
|
2460
2460
|
scriptUrl?: string;
|
|
2461
2461
|
/** Name of the global variable set by the SDK script (e.g., 'growPayment') */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brainerce",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Official SDK for building e-commerce storefronts with Brainerce Platform. Perfect for vibe-coded sites, AI-built stores (Cursor, Lovable, v0), and custom storefronts.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|