zh-web-sdk 2.1.5 → 2.3.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/README.md +24 -0
- package/dist/iframe-container/AppContainer.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/redux/reducers/crypto-buy.d.ts +13 -0
- package/dist/redux/reducers/crypto-sell.d.ts +13 -0
- package/dist/redux/reducers/fiat-withdrawals.d.ts +13 -0
- package/dist/redux/reducers/index.d.ts +3 -0
- package/dist/redux/store/index.d.ts +3 -0
- package/dist/types.d.ts +55 -4
- package/package.json +1 -1
- package/src/iframe-container/AppContainer.tsx +37 -40
- package/src/index.tsx +52 -7
- package/src/redux/reducers/crypto-buy.ts +64 -0
- package/src/redux/reducers/crypto-sell.ts +64 -0
- package/src/redux/reducers/fiat-withdrawals.ts +64 -0
- package/src/redux/reducers/index.ts +6 -0
- package/src/types.ts +56 -2
- package/dist/iframe-container/constants.d.ts +0 -3
- package/src/iframe-container/constants.ts +0 -13
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AppIdentifier } from "../types"
|
|
2
|
-
import { appIdentifierToActionPrefixMap } from "../types"
|
|
3
|
-
|
|
4
|
-
const ONBOARDING_MESSAGE_TYPE_PREFIX = appIdentifierToActionPrefixMap.get(AppIdentifier.ONBOARDING)
|
|
5
|
-
const CRYPTO_WITHDRAWALS_MESSAGE_TYPE_PREFIX = appIdentifierToActionPrefixMap.get(AppIdentifier.CRYPTO_WITHDRAWALS)
|
|
6
|
-
const ACH_DEPOSITS_MESSAGE_TYPE_PREFIX = appIdentifierToActionPrefixMap.get(AppIdentifier.ACH_DEPOSITS)
|
|
7
|
-
|
|
8
|
-
const SEND_JWT_TOKEN = "SEND_JWT_TOKEN"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export const MESSAGE_TYPE_SEND_JWT_TOKEN_ONBOARDING = ONBOARDING_MESSAGE_TYPE_PREFIX + SEND_JWT_TOKEN
|
|
12
|
-
export const MESSAGE_TYPE_SEND_JWT_TOKEN_WITHDRAWALS = CRYPTO_WITHDRAWALS_MESSAGE_TYPE_PREFIX + SEND_JWT_TOKEN
|
|
13
|
-
export const MESSAGE_TYPE_SEND_JWT_TOKEN_ACH_DEPOSITS = ACH_DEPOSITS_MESSAGE_TYPE_PREFIX + SEND_JWT_TOKEN
|