@orbclub/create-app 0.1.3 → 0.1.5

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,3 +1,3 @@
1
1
  // The @orbclub/apps-sdk release generated apps depend on (`^SDK_VERSION`). Keep it
2
2
  // equal to the root package.json version; test/tooling.test.ts enforces it.
3
- export const SDK_VERSION = "0.1.3";
3
+ export const SDK_VERSION = "0.1.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbclub/create-app",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Create an Orb app with Next.js and @orbclub/apps-sdk",
5
5
  "keywords": [
6
6
  "orb",
@@ -58,6 +58,9 @@ environment variables are in `README.md`.
58
58
  `NEXT_PUBLIC_*`.
59
59
  - Client components import only `@orbclub/apps-sdk/client`, `/detect` and `/site`.
60
60
  The root `@orbclub/apps-sdk` is for server code.
61
+ - To ask for an amount when `isInsideOrb()`, use `requestAmount` or
62
+ `openAmountSheet` from `@orbclub/apps-sdk/client`; don't build a numpad.
63
+ Outside Orb, use a normal decimal input.
61
64
  - Run `signInWithOrb` in the page; never proxy it (Orb rate-limits per client
62
65
  IP). `bindSiteSession`, `renewSiteSession` and `endSiteSession` are the
63
66
  opposite: server only.
@@ -83,7 +86,9 @@ environment variables are in `README.md`.
83
86
  address) from `result.session.address` to the expected recipient. Check the
84
87
  transfer itself: the transaction's `from` and `to` can be the device wallet
85
88
  or a contract. Credit each hash once, to one order created before it was
86
- mined. A timeout doesn't cancel it: check before retrying.
89
+ mined. A timeout doesn't cancel it: pass an `idempotencyKey`, one per
90
+ transaction (such as the order ID plus the item's index), and retry with
91
+ the same key; if the outcome is still unknown, check before retrying.
87
92
  - `getTipUserTx`, `tipUser`, `enableAction` and generated `*Tx` operations can
88
93
  send the transaction at once, with no approval sheet. Call them only after
89
94
  the viewer confirms in the page. Never time one out, retry it automatically
@@ -13,7 +13,7 @@
13
13
  "lint": "eslint ."
14
14
  },
15
15
  "dependencies": {
16
- "next": "16.4.0",
16
+ "next": "16.4.3",
17
17
  "@orbclub/apps-sdk": __SDK_DEPENDENCY_JSON__,
18
18
  "react": "19.2.8",
19
19
  "react-dom": "19.2.8"
@@ -23,7 +23,7 @@
23
23
  "@types/react": "^19",
24
24
  "@types/react-dom": "^19",
25
25
  "eslint": "^9",
26
- "eslint-config-next": "16.4.0",
26
+ "eslint-config-next": "16.4.3",
27
27
  "typescript": "^5"
28
28
  }
29
29
  }