@invonetwork/web-sdk 3.24.0 → 3.25.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.
@@ -1628,8 +1628,9 @@ interface PlayerActivityEntry {
1628
1628
  * `"self"`) `amount` is the gross sent and `feeAmount` / `netAmount` (what the
1629
1629
  * recipient gets) are set. On the recipient's entry (`"in"`) `amount` is what arrived
1630
1630
  * and `grossAmount` / `feeAmount` are set. While a send waits to be collected these
1631
- * show the fee that will apply; `null` when it ended without being collected, and on
1632
- * the recipient side of a transfer that converted between currencies.
1631
+ * show the fee that will apply; `null` when it ended without being collected. On the
1632
+ * recipient's entry for a send or transfer from another game, `grossAmount` and
1633
+ * `feeAmount` are in the recipient's currency, so `grossAmount - feeAmount === amount`.
1633
1634
  */
1634
1635
  feeAmount?: string | null;
1635
1636
  /** Sender side: what the recipient receives (gross minus fee). See {@link feeAmount}. */
@@ -1628,8 +1628,9 @@ interface PlayerActivityEntry {
1628
1628
  * `"self"`) `amount` is the gross sent and `feeAmount` / `netAmount` (what the
1629
1629
  * recipient gets) are set. On the recipient's entry (`"in"`) `amount` is what arrived
1630
1630
  * and `grossAmount` / `feeAmount` are set. While a send waits to be collected these
1631
- * show the fee that will apply; `null` when it ended without being collected, and on
1632
- * the recipient side of a transfer that converted between currencies.
1631
+ * show the fee that will apply; `null` when it ended without being collected. On the
1632
+ * recipient's entry for a send or transfer from another game, `grossAmount` and
1633
+ * `feeAmount` are in the recipient's currency, so `grossAmount - feeAmount === amount`.
1633
1634
  */
1634
1635
  feeAmount?: string | null;
1635
1636
  /** Sender side: what the recipient receives (gross minus fee). See {@link feeAmount}. */
package/package.json CHANGED
@@ -1,77 +1,77 @@
1
- {
2
- "name": "@invonetwork/web-sdk",
3
- "version": "3.24.0",
4
- "description": "INVO Web SDK — currency purchase + passkey (WebAuthn) verification for partner web platforms.",
5
- "license": "SEE LICENSE IN LICENSE",
6
- "private": false,
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/Invo-Technologies/invo-web-sdk.git"
10
- },
11
- "homepage": "https://docs.invo.network",
12
- "bugs": {
13
- "url": "https://github.com/Invo-Technologies/invo-web-sdk/issues"
14
- },
15
- "type": "module",
16
- "engines": {
17
- "node": ">=18"
18
- },
19
- "sideEffects": false,
20
- "files": [
21
- "dist",
22
- "!dist/**/*.map",
23
- "README.md",
24
- "LICENSE",
25
- "CHANGELOG.md"
26
- ],
27
- "exports": {
28
- ".": {
29
- "types": "./dist/index.d.ts",
30
- "import": "./dist/index.js",
31
- "require": "./dist/index.cjs"
32
- },
33
- "./server": {
34
- "types": "./dist/server.d.ts",
35
- "import": "./dist/server.js",
36
- "require": "./dist/server.cjs"
37
- }
38
- },
39
- "main": "./dist/index.cjs",
40
- "module": "./dist/index.js",
41
- "types": "./dist/index.d.ts",
42
- "scripts": {
43
- "build": "tsup",
44
- "dev": "tsup --watch",
45
- "typecheck": "tsc --noEmit",
46
- "lint": "eslint .",
47
- "test": "vitest run",
48
- "test:watch": "vitest",
49
- "clean": "rimraf dist",
50
- "changeset": "changeset",
51
- "version-packages": "changeset version",
52
- "release": "npm run build && changeset publish",
53
- "prepublishOnly": "npm run clean && npm run build"
54
- },
55
- "keywords": [
56
- "invo",
57
- "webauthn",
58
- "passkey",
59
- "payments",
60
- "game-currency",
61
- "sdk"
62
- ],
63
- "publishConfig": {
64
- "access": "public"
65
- },
66
- "devDependencies": {
67
- "@changesets/cli": "^2.31.0",
68
- "@eslint/js": "^10.0.1",
69
- "eslint": "^10.6.0",
70
- "happy-dom": "^15.11.7",
71
- "rimraf": "^5.0.5",
72
- "tsup": "^8.0.1",
73
- "typescript": "^5.4.5",
74
- "typescript-eslint": "^8.62.1",
75
- "vitest": "^1.5.0"
76
- }
77
- }
1
+ {
2
+ "name": "@invonetwork/web-sdk",
3
+ "version": "3.25.0",
4
+ "description": "INVO Web SDK — currency purchase + passkey (WebAuthn) verification for partner web platforms.",
5
+ "license": "SEE LICENSE IN LICENSE",
6
+ "private": false,
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/Invo-Technologies/invo-web-sdk.git"
10
+ },
11
+ "homepage": "https://docs.invo.network",
12
+ "bugs": {
13
+ "url": "https://github.com/Invo-Technologies/invo-web-sdk/issues"
14
+ },
15
+ "type": "module",
16
+ "engines": {
17
+ "node": ">=18"
18
+ },
19
+ "sideEffects": false,
20
+ "files": [
21
+ "dist",
22
+ "!dist/**/*.map",
23
+ "README.md",
24
+ "LICENSE",
25
+ "CHANGELOG.md"
26
+ ],
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.js",
31
+ "require": "./dist/index.cjs"
32
+ },
33
+ "./server": {
34
+ "types": "./dist/server.d.ts",
35
+ "import": "./dist/server.js",
36
+ "require": "./dist/server.cjs"
37
+ }
38
+ },
39
+ "main": "./dist/index.cjs",
40
+ "module": "./dist/index.js",
41
+ "types": "./dist/index.d.ts",
42
+ "scripts": {
43
+ "build": "tsup",
44
+ "dev": "tsup --watch",
45
+ "typecheck": "tsc --noEmit",
46
+ "lint": "eslint .",
47
+ "test": "vitest run",
48
+ "test:watch": "vitest",
49
+ "clean": "rimraf dist",
50
+ "changeset": "changeset",
51
+ "version-packages": "changeset version",
52
+ "release": "npm run build && changeset publish",
53
+ "prepublishOnly": "npm run clean && npm run build"
54
+ },
55
+ "keywords": [
56
+ "invo",
57
+ "webauthn",
58
+ "passkey",
59
+ "payments",
60
+ "game-currency",
61
+ "sdk"
62
+ ],
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "devDependencies": {
67
+ "@changesets/cli": "^2.31.0",
68
+ "@eslint/js": "^10.0.1",
69
+ "eslint": "^10.6.0",
70
+ "happy-dom": "^15.11.7",
71
+ "rimraf": "^5.0.5",
72
+ "tsup": "^8.0.1",
73
+ "typescript": "^5.4.5",
74
+ "typescript-eslint": "^8.62.1",
75
+ "vitest": "^1.5.0"
76
+ }
77
+ }