@sponsorcoin/spcoin-hooks 0.0.0-stage → 0.0.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 CHANGED
@@ -1,3 +1,13 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
1
+ # @sponsorcoin/spcoin-hooks
2
+
3
+ Portable React hooks shared between `spcoin-nextjs-front-end` and the Merit
4
+ Wallet browser extension (`spCoinExtension`).
5
+
6
+ Deliberately separate from `@sponsorcoin/spcoin-lib`: this package declares
7
+ `react` as a peer dependency and holds hooks specifically; `spcoin-lib`
8
+ stays framework-agnostic (plain functions, no React dependency at all), so
9
+ nothing that only needs a small utility is ever forced to carry React as a
10
+ dependency transitively.
11
+
12
+ Empty as of 2026-09-11, on purpose — hooks land here once they're actually
13
+ being built for a real consumer, not speculatively ahead of one.
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,41 @@
1
1
  {
2
2
  "name": "@sponsorcoin/spcoin-hooks",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.1",
4
+ "description": "Portable React hooks shared between spcoin-nextjs-front-end and the Merit Wallet browser extension (spCoinExtension) — kept separate from @sponsorcoin/spcoin-lib deliberately: these declare react as a peer dependency, spcoin-lib stays framework-agnostic.",
5
+ "type": "commonjs",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "package.json"
20
+ ],
21
+ "dependencies": {
22
+ "@sponsorcoin/spcoin-common": "^0.0.2"
23
+ },
24
+ "peerDependencies": {
25
+ "react": "^18 || ^19"
26
+ },
27
+ "devDependencies": {
28
+ "@types/react": "^18",
29
+ "typescript": "5.8.3"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+ssh://git@github.com/sponsorCoinAdmin/spcoin-hooks.git"
34
+ },
35
+ "author": "Robert Lanson",
36
+ "license": "ISC",
37
+ "bugs": {
38
+ "url": "https://github.com/sponsorCoinAdmin/spcoin-hooks/issues"
39
+ },
40
+ "homepage": "https://github.com/sponsorCoinAdmin/spcoin-hooks#readme"
41
+ }