@jetthai/cuora 1.1.10 → 1.1.11

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.
Files changed (40) hide show
  1. package/.husky/pre-commit +4 -0
  2. package/.prettierignore +1 -0
  3. package/CHANGELOG.md +7 -2
  4. package/README.md +6 -0
  5. package/dist/bundle.mjs +2355 -3495
  6. package/package.json +6 -3
  7. package/rollup.config.js +3 -7
  8. package/src/api/activity.js +1 -1
  9. package/src/api/auth.js +4 -2
  10. package/src/api/game.js +14 -2
  11. package/src/api/payment.js +25 -5
  12. package/src/machine/activity/activity.js +7 -7
  13. package/src/machine/activity/affiliate_invite_friends_activity.js +16 -19
  14. package/src/machine/activity/invite_friends_activity.js +1 -1
  15. package/src/machine/activity/sign_in_activity.js +1 -1
  16. package/src/machine/bank_binding_amb.js +141 -0
  17. package/src/machine/common.js +3 -4
  18. package/src/machine/deposit/amb.js +90 -0
  19. package/src/machine/deposit/crypto.js +1 -1
  20. package/src/machine/deposit/crypto_button.js +24 -22
  21. package/src/machine/deposit/deposit_fc.js +8 -5
  22. package/src/machine/deposit/float.js +295 -0
  23. package/src/machine/deposit/index.js +16 -1
  24. package/src/machine/deposit/loadcard_vn.js +1 -1
  25. package/src/machine/deposit/manual_vn.js +5 -11
  26. package/src/machine/deposit/qrcode_v2.js +18 -14
  27. package/src/machine/deposit/qrcode_vn.js +1 -1
  28. package/src/machine/deposit/vpay.js +292 -0
  29. package/src/machine/game_favorite_v2.js +1 -1
  30. package/src/machine/game_search_v2.js +40 -14
  31. package/src/machine/game_v2.js +6 -9
  32. package/src/machine/index.js +4 -0
  33. package/src/machine/reward.js +2 -2
  34. package/src/machine/side_v2.js +12 -12
  35. package/src/machine/user_sign_up.js +4 -5
  36. package/src/machine/withdraw_amb.js +373 -0
  37. package/src/machine/withdraw_crypto.js +37 -25
  38. package/src/machine/withdraw_fc.js +1 -1
  39. package/src/util/constant.js +1 -1
  40. package/src/util/storage.js +22 -22
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ npm run format && npm run build && git add .
@@ -0,0 +1 @@
1
+ dist/
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.11](https://github.com/jetthai/cuora-module/compare/v1.1.10...v1.1.11) (2022-12-21)
6
+
7
+ ### [1.1.9-bc88-1](https://github.com/jetthai/cuora-module/compare/v1.1.9-bc88...v1.1.9-bc88-1) (2022-12-14)
8
+
9
+ ### [1.1.9-bc88](https://github.com/jetthai/cuora-module/compare/v1.1.9...v1.1.9-bc88) (2022-12-13)
10
+
5
11
  ### [1.1.10](https://github.com/jetthai/cuora-module/compare/v1.1.9...v1.1.10) (2022-12-21)
6
12
 
7
13
  ### [1.1.9](https://github.com/jetthai/cuora-module/compare/v1.1.5-1...v1.1.9) (2022-12-07)
@@ -32,10 +38,9 @@ All notable changes to this project will be documented in this file. See [standa
32
38
 
33
39
  ## [1.1.0](https://github.com/jetthai/cuora-module/compare/v1.0.205...v1.1.0) (2022-11-30)
34
40
 
35
-
36
41
  ### Features
37
42
 
38
- * add context.base for 3rdParty redirection ([dba1a60](https://github.com/jetthai/cuora-module/commit/dba1a60881f78444a2e83b2ad8dcde2ffcadb43b))
43
+ - add context.base for 3rdParty redirection ([dba1a60](https://github.com/jetthai/cuora-module/commit/dba1a60881f78444a2e83b2ad8dcde2ffcadb43b))
39
44
 
40
45
  ### [1.0.205](https://github.com/jetthai/cuora-module/compare/v1.0.204...v1.0.205) (2022-11-23)
41
46
 
package/README.md CHANGED
@@ -1,20 +1,26 @@
1
1
  # cuora
2
+
2
3
  Integrate API and logic by xstate.
3
4
 
4
5
  ## Installation
6
+
5
7
  Add @jetthai/cuora dependency to your project:
8
+
6
9
  ```bash
7
10
  npm install --save @jetthai/cuora
8
11
  ```
9
12
 
10
13
  ## Setup
14
+
11
15
  Add config in `nuxt.config.js` to support latest ECMAScript.
16
+
12
17
  ```js
13
18
  // nuxt.config.js
14
19
  {
15
20
  ssr: false
16
21
  }
17
22
  ```
23
+
18
24
  ```js
19
25
  // nuxt.config.js
20
26
  {