@coincircuit/checkout 0.4.0 → 0.4.1

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.
@@ -304,7 +304,7 @@ var CoinCircuitCheckout = class {
304
304
  "Checkout failed to load."
305
305
  );
306
306
  this.close();
307
- }, 15e3);
307
+ }, 3e4);
308
308
  iframe.addEventListener("error", () => {
309
309
  if (this.loadTimeout) clearTimeout(this.loadTimeout);
310
310
  console.error(`[CoinCircuit] iframe error after ${Math.round(performance.now() - this.openedAt)}ms`);
package/dist/index.cjs CHANGED
@@ -335,7 +335,7 @@ var CoinCircuitCheckout = class {
335
335
  "Checkout failed to load."
336
336
  );
337
337
  this.close();
338
- }, 15e3);
338
+ }, 3e4);
339
339
  iframe.addEventListener("error", () => {
340
340
  if (this.loadTimeout) clearTimeout(this.loadTimeout);
341
341
  console.error(`[CoinCircuit] iframe error after ${Math.round(performance.now() - this.openedAt)}ms`);
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  buildCheckoutUrl,
6
6
  createMessageListener,
7
7
  extractOrigin
8
- } from "./chunk-RJ3FMO5K.js";
8
+ } from "./chunk-CUKGHBBE.js";
9
9
  export {
10
10
  CHECKOUT_MESSAGE_TYPES,
11
11
  CoinCircuitCheckout,
package/dist/react.cjs CHANGED
@@ -331,7 +331,7 @@ var CoinCircuitCheckout = class {
331
331
  "Checkout failed to load."
332
332
  );
333
333
  this.close();
334
- }, 15e3);
334
+ }, 3e4);
335
335
  iframe.addEventListener("error", () => {
336
336
  if (this.loadTimeout) clearTimeout(this.loadTimeout);
337
337
  console.error(`[CoinCircuit] iframe error after ${Math.round(performance.now() - this.openedAt)}ms`);
package/dist/react.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CoinCircuitCheckout
3
- } from "./chunk-RJ3FMO5K.js";
3
+ } from "./chunk-CUKGHBBE.js";
4
4
 
5
5
  // src/react.ts
6
6
  import { useRef, useCallback, useEffect, createElement } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coincircuit/checkout",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Embed CoinCircuit checkout in your site via iframe, with vanilla JS and React support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",