@coincircuit/checkout 0.3.0 → 0.4.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/{chunk-IC5IZ3JH.js → chunk-RJ3FMO5K.js} +2 -3
- package/dist/index.cjs +2 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/react.cjs +2 -3
- package/dist/react.js +1 -1
- package/package.json +1 -1
|
@@ -43,11 +43,10 @@ function createMessageListener(allowedOrigin, handlers) {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
// src/utils.ts
|
|
46
|
-
var DEFAULT_BASE_URL = "
|
|
46
|
+
var DEFAULT_BASE_URL = "https://checkout.coincircuit.io";
|
|
47
47
|
var ALLOWED_BASE_URLS = [
|
|
48
48
|
"https://checkout.coincircuit.io",
|
|
49
|
-
"https://sandbox-checkout.coincircuit.io"
|
|
50
|
-
"http://localhost:3002"
|
|
49
|
+
"https://sandbox-checkout.coincircuit.io"
|
|
51
50
|
];
|
|
52
51
|
function validateBaseUrl(url) {
|
|
53
52
|
const normalized = url.replace(/\/+$/, "");
|
package/dist/index.cjs
CHANGED
|
@@ -74,11 +74,10 @@ function createMessageListener(allowedOrigin, handlers) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
// src/utils.ts
|
|
77
|
-
var DEFAULT_BASE_URL = "
|
|
77
|
+
var DEFAULT_BASE_URL = "https://checkout.coincircuit.io";
|
|
78
78
|
var ALLOWED_BASE_URLS = [
|
|
79
79
|
"https://checkout.coincircuit.io",
|
|
80
|
-
"https://sandbox-checkout.coincircuit.io"
|
|
81
|
-
"http://localhost:3002"
|
|
80
|
+
"https://sandbox-checkout.coincircuit.io"
|
|
82
81
|
];
|
|
83
82
|
function validateBaseUrl(url) {
|
|
84
83
|
const normalized = url.replace(/\/+$/, "");
|
package/dist/index.d.cts
CHANGED
|
@@ -79,7 +79,7 @@ interface CheckoutEventHandlers {
|
|
|
79
79
|
*/
|
|
80
80
|
declare function createMessageListener(allowedOrigin: string, handlers: CheckoutEventHandlers): () => void;
|
|
81
81
|
|
|
82
|
-
declare const DEFAULT_BASE_URL = "
|
|
82
|
+
declare const DEFAULT_BASE_URL = "https://checkout.coincircuit.io";
|
|
83
83
|
/**
|
|
84
84
|
* Builds the checkout URL with embed flag.
|
|
85
85
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ interface CheckoutEventHandlers {
|
|
|
79
79
|
*/
|
|
80
80
|
declare function createMessageListener(allowedOrigin: string, handlers: CheckoutEventHandlers): () => void;
|
|
81
81
|
|
|
82
|
-
declare const DEFAULT_BASE_URL = "
|
|
82
|
+
declare const DEFAULT_BASE_URL = "https://checkout.coincircuit.io";
|
|
83
83
|
/**
|
|
84
84
|
* Builds the checkout URL with embed flag.
|
|
85
85
|
*/
|
package/dist/index.js
CHANGED
package/dist/react.cjs
CHANGED
|
@@ -70,11 +70,10 @@ function createMessageListener(allowedOrigin, handlers) {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// src/utils.ts
|
|
73
|
-
var DEFAULT_BASE_URL = "
|
|
73
|
+
var DEFAULT_BASE_URL = "https://checkout.coincircuit.io";
|
|
74
74
|
var ALLOWED_BASE_URLS = [
|
|
75
75
|
"https://checkout.coincircuit.io",
|
|
76
|
-
"https://sandbox-checkout.coincircuit.io"
|
|
77
|
-
"http://localhost:3002"
|
|
76
|
+
"https://sandbox-checkout.coincircuit.io"
|
|
78
77
|
];
|
|
79
78
|
function validateBaseUrl(url) {
|
|
80
79
|
const normalized = url.replace(/\/+$/, "");
|
package/dist/react.js
CHANGED