@coinflowlabs/react-native 0.2.0-sandbox1 → 0.2.0-sandbox2

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.
@@ -1,18 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { WithStyles } from './CoinflowWebView';
3
- import { Connection, Signer, Transaction } from '@solana/web3.js';
4
- import { CoinflowEnvs, SubsetWalletContextState } from './ReactNativeCoinflowUtils';
5
- import { OnSuccessMethod } from './IFrameWalletConnector';
2
+ import { CoinflowWebViewProps, WithStyles } from './CoinflowWebView';
3
+ import { Signer, Transaction } from '@solana/web3.js';
4
+ import { CoinflowEnvs } from './ReactNativeCoinflowUtils';
6
5
  type CoinflowPurchaseProps = {
7
- wallet: SubsetWalletContextState;
6
+ wallet: any;
8
7
  merchantId: string;
9
- connection: Connection;
10
8
  amount?: number;
11
9
  env?: CoinflowEnvs;
12
- onSuccess?: OnSuccessMethod;
13
10
  transaction?: Transaction;
14
11
  partialSigners?: Signer[];
15
12
  debugTx?: boolean;
16
- };
17
- export declare function CoinflowPurchase({ wallet, merchantId, env, connection, onSuccess, transaction, amount, partialSigners, debugTx, style, }: CoinflowPurchaseProps & WithStyles): JSX.Element | null;
13
+ } & CoinflowWebViewProps;
14
+ export declare function CoinflowPurchase({ wallet, merchantId, env, transaction, amount, style, WebViewRef, handleIframeMessages, }: CoinflowPurchaseProps & WithStyles): JSX.Element | null;
18
15
  export {};
@@ -1,14 +1,6 @@
1
1
  import React from 'react';
2
- import { CoinflowWebView } from './CoinflowWebView';
3
- import { useIframeWallet } from './useIframeWallet';
4
- export function CoinflowPurchase({ wallet, merchantId, env, connection, onSuccess, transaction, amount, partialSigners, debugTx = false, style, }) {
5
- const { WebViewRef, handleIframeMessages } = useIframeWallet({
6
- wallet,
7
- connection,
8
- onSuccess,
9
- partialSigners,
10
- debugTx,
11
- });
2
+ import { CoinflowWebView, } from './CoinflowWebView';
3
+ export function CoinflowPurchase({ wallet, merchantId, env, transaction, amount, style, WebViewRef, handleIframeMessages, }) {
12
4
  if (!wallet.publicKey || !wallet.connected)
13
5
  return null;
14
6
  return (React.createElement(CoinflowWebView, { publicKey: wallet.publicKey.toString(), WebViewRef: WebViewRef, route: `/purchase/${merchantId}`, env: env, transaction: transaction, amount: amount, handleIframeMessages: handleIframeMessages, style: style }));
@@ -1 +1 @@
1
- {"version":3,"file":"CoinflowPurchase.js","sourceRoot":"","sources":["../src/CoinflowPurchase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAa,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAoBlD,MAAM,UAAU,gBAAgB,CAAC,EAC/B,MAAM,EACN,UAAU,EACV,GAAG,EACH,UAAU,EACV,SAAS,EACT,WAAW,EACX,MAAM,EACN,cAAc,EACd,OAAO,GAAG,KAAK,EACf,KAAK,GAC8B;IACnC,MAAM,EAAC,UAAU,EAAE,oBAAoB,EAAC,GAAG,eAAe,CAAC;QACzD,MAAM;QACN,UAAU;QACV,SAAS;QACT,cAAc;QACd,OAAO;KACR,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,aAAa,UAAU,EAAE,EAChC,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"CoinflowPurchase.js","sourceRoot":"","sources":["../src/CoinflowPurchase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,eAAe,GAGhB,MAAM,mBAAmB,CAAC;AAc3B,MAAM,UAAU,gBAAgB,CAAC,EAC/B,MAAM,EACN,UAAU,EACV,GAAG,EACH,WAAW,EACX,MAAM,EACN,KAAK,EACL,UAAU,EACV,oBAAoB,GACe;IACnC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,aAAa,UAAU,EAAE,EAChC,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { WithStyles } from './CoinflowWebView';
3
3
  import { CoinflowHistoryProps } from './CoinflowWithdrawHistory';
4
- export declare function CoinflowPurchaseHistory({ wallet, merchantId, connection, env, style, }: CoinflowHistoryProps & WithStyles): JSX.Element | null;
4
+ export declare function CoinflowPurchaseHistory({ wallet, merchantId, env, style, WebViewRef, handleIframeMessages, }: CoinflowHistoryProps & WithStyles): JSX.Element | null;
@@ -1,11 +1,6 @@
1
1
  import React from 'react';
2
- import { useIframeWallet } from './useIframeWallet';
3
2
  import { CoinflowWebView } from './CoinflowWebView';
4
- export function CoinflowPurchaseHistory({ wallet, merchantId, connection, env, style, }) {
5
- const { WebViewRef, handleIframeMessages } = useIframeWallet({
6
- wallet,
7
- connection,
8
- });
3
+ export function CoinflowPurchaseHistory({ wallet, merchantId, env, style, WebViewRef, handleIframeMessages, }) {
9
4
  if (!wallet.publicKey || !wallet.connected)
10
5
  return null;
11
6
  return (React.createElement(CoinflowWebView, { publicKey: wallet.publicKey.toString(), WebViewRef: WebViewRef, handleIframeMessages: handleIframeMessages, style: style, route: `/history/purchase/${merchantId}`, env: env }));
@@ -1 +1 @@
1
- {"version":3,"file":"CoinflowPurchaseHistory.js","sourceRoot":"","sources":["../src/CoinflowPurchaseHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,eAAe,EAAa,MAAM,mBAAmB,CAAC;AAG9D,MAAM,UAAU,uBAAuB,CAAC,EACtC,MAAM,EACN,UAAU,EACV,UAAU,EACV,GAAG,EACH,KAAK,GAC6B;IAClC,MAAM,EAAC,UAAU,EAAE,oBAAoB,EAAC,GAAG,eAAe,CAAC;QACzD,MAAM;QACN,UAAU;KACX,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,qBAAqB,UAAU,EAAE,EACxC,GAAG,EAAE,GAAG,GACR,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"CoinflowPurchaseHistory.js","sourceRoot":"","sources":["../src/CoinflowPurchaseHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAa,MAAM,mBAAmB,CAAC;AAG9D,MAAM,UAAU,uBAAuB,CAAC,EACtC,MAAM,EACN,UAAU,EACV,GAAG,EACH,KAAK,EACL,UAAU,EACV,oBAAoB,GACc;IAClC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,qBAAqB,UAAU,EAAE,EACxC,GAAG,EAAE,GAAG,GACR,CACH,CAAC;AACJ,CAAC"}
@@ -1,14 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { WithStyles } from './CoinflowWebView';
2
+ import { CoinflowWebViewProps, WithStyles } from './CoinflowWebView';
3
3
  import { Connection } from '@solana/web3.js';
4
- import { CoinflowEnvs, SubsetWalletContextState } from './ReactNativeCoinflowUtils';
5
- import { OnSuccessMethod } from './IFrameWalletConnector';
4
+ import { CoinflowEnvs } from './ReactNativeCoinflowUtils';
6
5
  type CoinflowWithdrawProps = {
7
- wallet: SubsetWalletContextState;
6
+ wallet: any;
8
7
  merchantId: string;
9
8
  connection: Connection;
10
9
  env?: CoinflowEnvs;
11
- onSuccess?: OnSuccessMethod;
12
- };
13
- export declare function CoinflowWithdraw({ wallet, merchantId, env, connection, onSuccess, style, }: CoinflowWithdrawProps & WithStyles): JSX.Element | null;
10
+ } & CoinflowWebViewProps;
11
+ export declare function CoinflowWithdraw({ wallet, merchantId, env, style, WebViewRef, handleIframeMessages, }: CoinflowWithdrawProps & WithStyles): JSX.Element | null;
14
12
  export {};
@@ -1,12 +1,6 @@
1
- import { CoinflowWebView } from './CoinflowWebView';
1
+ import { CoinflowWebView, } from './CoinflowWebView';
2
2
  import React from 'react';
3
- import { useIframeWallet } from './useIframeWallet';
4
- export function CoinflowWithdraw({ wallet, merchantId, env, connection, onSuccess, style, }) {
5
- const { WebViewRef, handleIframeMessages } = useIframeWallet({
6
- wallet,
7
- connection,
8
- onSuccess,
9
- });
3
+ export function CoinflowWithdraw({ wallet, merchantId, env, style, WebViewRef, handleIframeMessages, }) {
10
4
  if (!wallet.publicKey || !wallet.connected)
11
5
  return null;
12
6
  return (React.createElement(CoinflowWebView, { publicKey: wallet.publicKey.toString(), WebViewRef: WebViewRef, handleIframeMessages: handleIframeMessages, route: `/withdraw/${merchantId}`, env: env, style: style }));
@@ -1 +1 @@
1
- {"version":3,"file":"CoinflowWithdraw.js","sourceRoot":"","sources":["../src/CoinflowWithdraw.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAa,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAgBlD,MAAM,UAAU,gBAAgB,CAAC,EAC/B,MAAM,EACN,UAAU,EACV,GAAG,EACH,UAAU,EACV,SAAS,EACT,KAAK,GAC8B;IACnC,MAAM,EAAC,UAAU,EAAE,oBAAoB,EAAC,GAAG,eAAe,CAAC;QACzD,MAAM;QACN,UAAU;QACV,SAAS;KACV,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,aAAa,UAAU,EAAE,EAChC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"CoinflowWithdraw.js","sourceRoot":"","sources":["../src/CoinflowWithdraw.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,GAGhB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,UAAU,gBAAgB,CAAC,EAC/B,MAAM,EACN,UAAU,EACV,GAAG,EACH,KAAK,EACL,UAAU,EACV,oBAAoB,GACe;IACnC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,aAAa,UAAU,EAAE,EAChC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC"}
@@ -1,11 +1,16 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { WithStyles } from './CoinflowWebView';
3
- import { CoinflowEnvs, SubsetWalletContextState } from './ReactNativeCoinflowUtils';
3
+ import { CoinflowEnvs } from './ReactNativeCoinflowUtils';
4
4
  import { Connection } from '@solana/web3.js';
5
+ import { WebView } from 'react-native-webview';
5
6
  export type CoinflowHistoryProps = {
6
- wallet: SubsetWalletContextState;
7
+ wallet: any;
7
8
  merchantId: string;
8
9
  connection: Connection;
9
10
  env?: CoinflowEnvs;
11
+ WebViewRef: React.RefObject<WebView>;
12
+ handleIframeMessages: ({ data }: {
13
+ data: string;
14
+ }) => Promise<void>;
10
15
  };
11
- export declare function CoinflowWithdrawHistory({ wallet, merchantId, connection, env, style, }: CoinflowHistoryProps & WithStyles): JSX.Element | null;
16
+ export declare function CoinflowWithdrawHistory({ wallet, merchantId, env, style, WebViewRef, handleIframeMessages, }: CoinflowHistoryProps & WithStyles): JSX.Element | null;
@@ -1,11 +1,6 @@
1
1
  import React from 'react';
2
2
  import { CoinflowWebView } from './CoinflowWebView';
3
- import { useIframeWallet } from './useIframeWallet';
4
- export function CoinflowWithdrawHistory({ wallet, merchantId, connection, env, style, }) {
5
- const { WebViewRef, handleIframeMessages } = useIframeWallet({
6
- wallet,
7
- connection,
8
- });
3
+ export function CoinflowWithdrawHistory({ wallet, merchantId, env, style, WebViewRef, handleIframeMessages, }) {
9
4
  if (!wallet.publicKey || !wallet.connected)
10
5
  return null;
11
6
  return (React.createElement(CoinflowWebView, { publicKey: wallet.publicKey.toString(), WebViewRef: WebViewRef, handleIframeMessages: handleIframeMessages, style: style, route: `/history/withdraw/${merchantId}`, env: env }));
@@ -1 +1 @@
1
- {"version":3,"file":"CoinflowWithdrawHistory.js","sourceRoot":"","sources":["../src/CoinflowWithdrawHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAa,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAclD,MAAM,UAAU,uBAAuB,CAAC,EACtC,MAAM,EACN,UAAU,EACV,UAAU,EACV,GAAG,EACH,KAAK,GAC6B;IAClC,MAAM,EAAC,UAAU,EAAE,oBAAoB,EAAC,GAAG,eAAe,CAAC;QACzD,MAAM;QACN,UAAU;KACX,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,qBAAqB,UAAU,EAAE,EACxC,GAAG,EAAE,GAAG,GACR,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"CoinflowWithdrawHistory.js","sourceRoot":"","sources":["../src/CoinflowWithdrawHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAa,MAAM,mBAAmB,CAAC;AAc9D,MAAM,UAAU,uBAAuB,CAAC,EACtC,MAAM,EACN,UAAU,EACV,GAAG,EACH,KAAK,EACL,UAAU,EACV,oBAAoB,GACc;IAClC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAExD,OAAO,CACL,oBAAC,eAAe,IACd,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EACtC,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,qBAAqB,UAAU,EAAE,EACxC,GAAG,EAAE,GAAG,GACR,CACH,CAAC;AACJ,CAAC"}
@@ -1,7 +1,5 @@
1
1
  import { Transaction } from '@solana/web3.js';
2
- import { WalletContextState } from '@solana/wallet-adapter-react';
3
2
  export type CoinflowEnvs = 'prod' | 'staging' | 'sandbox' | 'local';
4
- export type SubsetWalletContextState = Pick<WalletContextState, 'signTransaction' | 'signMessage' | 'connected' | 'publicKey' | 'sendTransaction'>;
5
3
  export declare class ReactNativeCoinflowUtils {
6
4
  env: CoinflowEnvs;
7
5
  url: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ReactNativeCoinflowUtils.js","sourceRoot":"","sources":["../src/ReactNativeCoinflowUtils.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,MAAM,CAAC;AAc1B,MAAM,OAAO,wBAAwB;IAInC,YAAY,GAAkB;QAC5B,IAAI,CAAC,GAAG,GAAG,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,MAAM,CAAC;QACzB,IAAI,IAAI,CAAC,GAAG,KAAK,MAAM;YAAE,IAAI,CAAC,GAAG,GAAG,2BAA2B,CAAC;aAC3D,IAAI,IAAI,CAAC,GAAG,KAAK,OAAO;YAAE,IAAI,CAAC,GAAG,GAAG,uBAAuB,CAAC;;YAC7D,IAAI,CAAC,GAAG,GAAG,eAAe,IAAI,CAAC,GAAG,gBAAgB,CAAC;IAC1D,CAAC;IAED,MAAM,CAAC,kBAAkB,CAAC,GAAkB;QAC1C,IAAI,CAAC,GAAG,IAAI,GAAG,KAAK,MAAM;YAAE,OAAO,uBAAuB,CAAC;QAC3D,IAAI,GAAG,KAAK,OAAO;YAAE,OAAO,uBAAuB,CAAC;QAEpD,OAAO,WAAW,GAAG,gBAAgB,CAAC;IACxC,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,EACpB,KAAK,EACL,GAAG,EACH,MAAM,EACN,SAAS,EACT,WAAW,GAOZ;QACC,MAAM,GAAG,GAAG,IAAI,GAAG,CACjB,KAAK,EACL,wBAAwB,CAAC,kBAAkB,CAAC,GAAG,CAAC,CACjD,CAAC;QACF,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;QAC7C,IAAI,WAAW,EAAE;YACf,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAChC,WAAW,CAAC,SAAS,CAAC;gBACpB,oBAAoB,EAAE,KAAK;gBAC3B,gBAAgB,EAAE,KAAK;aACxB,CAAC,CACH,CAAC;YACF,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;SACtD;QACD,IAAI,MAAM,EAAE;YACV,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;SACtD;QACD,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;CACF"}
1
+ {"version":3,"file":"ReactNativeCoinflowUtils.js","sourceRoot":"","sources":["../src/ReactNativeCoinflowUtils.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,MAAM,CAAC;AAI1B,MAAM,OAAO,wBAAwB;IAInC,YAAY,GAAkB;QAC5B,IAAI,CAAC,GAAG,GAAG,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,MAAM,CAAC;QACzB,IAAI,IAAI,CAAC,GAAG,KAAK,MAAM;YAAE,IAAI,CAAC,GAAG,GAAG,2BAA2B,CAAC;aAC3D,IAAI,IAAI,CAAC,GAAG,KAAK,OAAO;YAAE,IAAI,CAAC,GAAG,GAAG,uBAAuB,CAAC;;YAC7D,IAAI,CAAC,GAAG,GAAG,eAAe,IAAI,CAAC,GAAG,gBAAgB,CAAC;IAC1D,CAAC;IAED,MAAM,CAAC,kBAAkB,CAAC,GAAkB;QAC1C,IAAI,CAAC,GAAG,IAAI,GAAG,KAAK,MAAM;YAAE,OAAO,uBAAuB,CAAC;QAC3D,IAAI,GAAG,KAAK,OAAO;YAAE,OAAO,uBAAuB,CAAC;QAEpD,OAAO,WAAW,GAAG,gBAAgB,CAAC;IACxC,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,EACpB,KAAK,EACL,GAAG,EACH,MAAM,EACN,SAAS,EACT,WAAW,GAOZ;QACC,MAAM,GAAG,GAAG,IAAI,GAAG,CACjB,KAAK,EACL,wBAAwB,CAAC,kBAAkB,CAAC,GAAG,CAAC,CACjD,CAAC;QACF,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;QAC7C,IAAI,WAAW,EAAE;YACf,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAChC,WAAW,CAAC,SAAS,CAAC;gBACpB,oBAAoB,EAAE,KAAK;gBAC3B,gBAAgB,EAAE,KAAK;aACxB,CAAC,CACH,CAAC;YACF,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;SACtD;QACD,IAAI,MAAM,EAAE;YACV,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;SACtD;QACD,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinflowlabs/react-native",
3
- "version": "0.2.0-sandbox1",
3
+ "version": "0.2.0-sandbox2",
4
4
  "description": "React Native Component for Coinflow Withdraw",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -23,8 +23,7 @@
23
23
  "peerDependencies": {
24
24
  "react": ">=16",
25
25
  "react-native": ">=0.66.0",
26
- "react-native-webview": ">=11.16.0",
27
- "@solana/web3.js": ">=1.47.3"
26
+ "react-native-webview": ">=11.16.0"
28
27
  },
29
28
  "dependencies": {
30
29
  "bs58": "^5.0.0"