@coinflowlabs/react-native 2.1.5 → 2.1.6-SNAPSHOT.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.
- package/README.md +4 -0
- package/build/CoinflowTypes.d.ts +3 -0
- package/build/CoinflowWebView.js +3 -2
- package/build/CoinflowWebView.js.map +1 -1
- package/build/ReactNativeCoinflowUtils.d.ts +1 -1
- package/build/ReactNativeCoinflowUtils.js +3 -1
- package/build/ReactNativeCoinflowUtils.js.map +1 -1
- package/build/wallet/useWebViewWallet.js +1 -1
- package/build/wallet/useWebViewWallet.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,6 +37,10 @@ Props:
|
|
|
37
37
|
* `partialSigners` (optional): Keypairs of Partial Signers to sign the transaction with, this is necessary when initializing new accounts as the new account Keypair must sign the transaction.
|
|
38
38
|
* `debugTx` (optional): Setting this to `true` will sign the transaction with the wallet, and send the transaction with no preflight checks allowing for easier debug of any issues.
|
|
39
39
|
|
|
40
|
+
## 2.1.6
|
|
41
|
+
|
|
42
|
+
- Customer info param for added reporting capabilities
|
|
43
|
+
|
|
40
44
|
## 2.1.5
|
|
41
45
|
|
|
42
46
|
- Added disableGooglePay and disableApplePay props to CoinflowPurchase
|
package/build/CoinflowTypes.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Wallet } from '@near-wallet-selector/core';
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import WebView from 'react-native-webview';
|
|
7
7
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
8
|
+
import { CustomerInfo } from '@coinflow/common';
|
|
8
9
|
/** Coinflow Types **/
|
|
9
10
|
export type CoinflowBlockchain = 'solana' | 'near' | 'eth' | 'polygon';
|
|
10
11
|
export type CoinflowEnvs = 'prod' | 'staging' | 'sandbox' | 'local';
|
|
@@ -115,6 +116,7 @@ export interface CoinflowIFrameProps {
|
|
|
115
116
|
transaction?: string;
|
|
116
117
|
blockchain: CoinflowBlockchain;
|
|
117
118
|
webhookInfo?: object;
|
|
119
|
+
customerInfo?: CustomerInfo;
|
|
118
120
|
email?: string;
|
|
119
121
|
env?: CoinflowEnvs;
|
|
120
122
|
deviceId?: string;
|
|
@@ -145,6 +147,7 @@ export interface CoinflowCommonPurchaseProps extends CoinflowTypes {
|
|
|
145
147
|
amount?: number;
|
|
146
148
|
onSuccess?: OnSuccessMethod;
|
|
147
149
|
webhookInfo?: object;
|
|
150
|
+
customerInfo?: CustomerInfo;
|
|
148
151
|
email?: string;
|
|
149
152
|
deviceId?: string;
|
|
150
153
|
chargebackProtectionData?: ChargebackProtectionData;
|
package/build/CoinflowWebView.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import WebView from 'react-native-webview';
|
|
3
|
-
import { Linking } from 'react-native';
|
|
3
|
+
import { Linking, Platform } from 'react-native';
|
|
4
4
|
import { ReactNativeCoinflowUtils } from './ReactNativeCoinflowUtils';
|
|
5
5
|
export function CoinflowWebView(props) {
|
|
6
6
|
var url = useMemo(function () {
|
|
@@ -10,12 +10,13 @@ export function CoinflowWebView(props) {
|
|
|
10
10
|
return useMemo(function () {
|
|
11
11
|
if (!props.publicKey)
|
|
12
12
|
return null;
|
|
13
|
+
var enableApplePay = props.route.includes('/purchase/') && Platform.OS === 'ios';
|
|
13
14
|
return (React.createElement(WebView, { style: [
|
|
14
15
|
{
|
|
15
16
|
flex: 1,
|
|
16
17
|
},
|
|
17
18
|
style,
|
|
18
|
-
], keyboardDisplayRequiresUserAction: false, showsVerticalScrollIndicator: false, onShouldStartLoadWithRequest: function (request) {
|
|
19
|
+
], enableApplePay: enableApplePay, keyboardDisplayRequiresUserAction: false, showsVerticalScrollIndicator: false, onShouldStartLoadWithRequest: function (request) {
|
|
19
20
|
var whitelist = [
|
|
20
21
|
'solscan',
|
|
21
22
|
'etherscan',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoinflowWebView.js","sourceRoot":"","sources":["../src/CoinflowWebView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"CoinflowWebView.js","sourceRoot":"","sources":["../src/CoinflowWebView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAGpE,MAAM,UAAU,eAAe,CAAC,KAAwC;IACtE,IAAM,GAAG,GAAG,OAAO,CAAC;QAClB,OAAO,wBAAwB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACxD,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEL,IAAA,oBAAoB,GAA+B,KAAK,qBAApC,EAAE,UAAU,GAAmB,KAAK,WAAxB,EAAE,KAAK,GAAY,KAAK,MAAjB,EAAE,MAAM,GAAI,KAAK,OAAT,CAAU;IAChE,OAAO,OAAO,CAAC;QACb,IAAI,CAAC,KAAK,CAAC,SAAS;YAAE,OAAO,IAAI,CAAC;QAElC,IAAM,cAAc,GAClB,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,CAAC;QAE9D,OAAO,CACL,oBAAC,OAAO,IACN,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,CAAC;iBACR;gBACD,KAAK;aACN,EACD,cAAc,EAAE,cAAc,EAC9B,iCAAiC,EAAE,KAAK,EACxC,4BAA4B,EAAE,KAAK,EACnC,4BAA4B,EAAE,UAAA,OAA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 -4,5 +4,5 @@ export declare class ReactNativeCoinflowUtils {
|
|
|
4
4
|
url: string;
|
|
5
5
|
constructor(env?: CoinflowEnvs);
|
|
6
6
|
static getCoinflowBaseUrl(env?: CoinflowEnvs): string;
|
|
7
|
-
static getCoinflowUrl({ blockchain, route, env, amount, publicKey, transaction, bankAccountLinkRedirect, additionalWallets, token, tokens, webhookInfo, deviceId, chargebackProtectionData, rent, lockDefaultToken, supportsVersionedTransactions, disableApplePay, disableGooglePay, }: CoinflowWebViewProps): string;
|
|
7
|
+
static getCoinflowUrl({ blockchain, route, env, amount, publicKey, transaction, bankAccountLinkRedirect, additionalWallets, token, tokens, webhookInfo, deviceId, chargebackProtectionData, rent, lockDefaultToken, supportsVersionedTransactions, disableApplePay, disableGooglePay, customerInfo, }: CoinflowWebViewProps): string;
|
|
8
8
|
}
|
|
@@ -16,7 +16,7 @@ var ReactNativeCoinflowUtils = /** @class */ (function () {
|
|
|
16
16
|
return "https://".concat(env, ".coinflow.cash");
|
|
17
17
|
};
|
|
18
18
|
ReactNativeCoinflowUtils.getCoinflowUrl = function (_a) {
|
|
19
|
-
var blockchain = _a.blockchain, route = _a.route, env = _a.env, amount = _a.amount, publicKey = _a.publicKey, transaction = _a.transaction, bankAccountLinkRedirect = _a.bankAccountLinkRedirect, additionalWallets = _a.additionalWallets, token = _a.token, tokens = _a.tokens, webhookInfo = _a.webhookInfo, deviceId = _a.deviceId, chargebackProtectionData = _a.chargebackProtectionData, rent = _a.rent, lockDefaultToken = _a.lockDefaultToken, supportsVersionedTransactions = _a.supportsVersionedTransactions, disableApplePay = _a.disableApplePay, disableGooglePay = _a.disableGooglePay;
|
|
19
|
+
var blockchain = _a.blockchain, route = _a.route, env = _a.env, amount = _a.amount, publicKey = _a.publicKey, transaction = _a.transaction, bankAccountLinkRedirect = _a.bankAccountLinkRedirect, additionalWallets = _a.additionalWallets, token = _a.token, tokens = _a.tokens, webhookInfo = _a.webhookInfo, deviceId = _a.deviceId, chargebackProtectionData = _a.chargebackProtectionData, rent = _a.rent, lockDefaultToken = _a.lockDefaultToken, supportsVersionedTransactions = _a.supportsVersionedTransactions, disableApplePay = _a.disableApplePay, disableGooglePay = _a.disableGooglePay, customerInfo = _a.customerInfo;
|
|
20
20
|
if (!publicKey)
|
|
21
21
|
return '';
|
|
22
22
|
var url = new URL("/".concat(blockchain) + route, ReactNativeCoinflowUtils.getCoinflowBaseUrl(env));
|
|
@@ -41,6 +41,8 @@ var ReactNativeCoinflowUtils = /** @class */ (function () {
|
|
|
41
41
|
}
|
|
42
42
|
if (webhookInfo)
|
|
43
43
|
url.searchParams.append('webhookInfo', Buffer.from(JSON.stringify(webhookInfo)).toString('base64'));
|
|
44
|
+
if (customerInfo)
|
|
45
|
+
url.searchParams.append('customerInfo', Buffer.from(JSON.stringify(customerInfo)).toString('base64'));
|
|
44
46
|
if (deviceId)
|
|
45
47
|
url.searchParams.append('deviceId', deviceId);
|
|
46
48
|
if (chargebackProtectionData)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactNativeCoinflowUtils.js","sourceRoot":"","sources":["../src/ReactNativeCoinflowUtils.ts"],"names":[],"mappings":"AAEA;IAIE,kCAAY,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,sBAAe,IAAI,CAAC,GAAG,mBAAgB,CAAC;IAC1D,CAAC;IAEM,2CAAkB,GAAzB,UAA0B,GAAkB;QAC1C,IAAI,CAAC,GAAG,IAAI,GAAG,KAAK,MAAM;YAAE,OAAO,uBAAuB,CAAC;QAC3D,IAAI,GAAG,KAAK,OAAO;YAA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J,IAAI,YAAY;YACd,GAAG,CAAC,YAAY,CAAC,MAAM,CACrB,cAAc,EACd,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAC7D,CAAC;QAEJ,IAAI,QAAQ;YAAE,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAC5D,IAAI,wBAAwB;YAC1B,GAAG,CAAC,YAAY,CAAC,MAAM,CACrB,0BAA0B,EAC1B,IAAI,CAAC,SAAS,CAAC,wBAAwB,CAAC,CACzC,CAAC;QAEJ,IAAI,IAAI;YAAE,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QACpE,IAAI,gBAAgB;YAAE,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAE1E,IAAI,eAAe;YAAE,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;QACxE,IAAI,gBAAgB;YAAE,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAE1E,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;IACH,+BAAC;AAAD,CAAC,AAnGD,IAmGC"}
|
|
@@ -4,7 +4,7 @@ export function useWebViewWallet(_a, _b) {
|
|
|
4
4
|
var _this = this;
|
|
5
5
|
var handleSignTransaction = _a.handleSignTransaction, handleSendTransaction = _a.handleSendTransaction, handleSignMessage = _a.handleSignMessage;
|
|
6
6
|
var onSuccess = _b.onSuccess;
|
|
7
|
-
var WebViewRef = React.useRef(null);
|
|
7
|
+
var WebViewRef = React.useRef(null);
|
|
8
8
|
var sendIFrameMessage = useCallback(function (message) {
|
|
9
9
|
if (!(WebViewRef === null || WebViewRef === void 0 ? void 0 : WebViewRef.current))
|
|
10
10
|
throw new Error('WebViewRef not defined');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWebViewWallet.js","sourceRoot":"","sources":["../../src/wallet/useWebViewWallet.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AAIzC,MAAM,UAAU,gBAAgB,CAC9B,EAIwB,EACxB,EAIC;IAVH,iBAmFC;QAjFG,qBAAqB,2BAAA,EACrB,qBAAqB,2BAAA,EACrB,iBAAiB,uBAAA;QAGjB,SAAS,eAAA;IAKX,IAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAa,IAAI,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"useWebViewWallet.js","sourceRoot":"","sources":["../../src/wallet/useWebViewWallet.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AAIzC,MAAM,UAAU,gBAAgB,CAC9B,EAIwB,EACxB,EAIC;IAVH,iBAmFC;QAjFG,qBAAqB,2BAAA,EACrB,qBAAqB,2BAAA,EACrB,iBAAiB,uBAAA;QAGjB,SAAS,eAAA;IAKX,IAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAa,IAAI,CAAC,CAAC;IAElD,IAAM,iBAAiB,GAAG,WAAW,CACnC,UAAC,OAAe;QACd,IAAI,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAA;YAAE,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QACpE,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC1C,CAAC,EACD,CAAC,UAAU,CAAC,CACb,CAAC;IAEF,IAAM,oBAAoB,GAAG,WAAW,CACtC,UAAO,EAAsB;YAArB,IAAI,UAAA;;;;;;;wBAEF,UAAU,GAAG,SAAS,CAAC,IAAI,CAAC,C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