neozip-blockchain 0.8.0 → 1.0.2
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 +4 -7
- package/WHATS_NEW.md +68 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,12 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Blockchain functionality for NeoZip: **NeoZip Token Service timestamping** (stamp, upgrade, mint, verify), NFT minting, verification, and wallet management. Part of the [neozipkit monorepo](../../README.md).
|
|
4
4
|
|
|
5
|
-
>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
> - Use in production with caution and thorough testing
|
|
9
|
-
>
|
|
10
|
-
> We welcome feedback on [GitHub](https://github.com/NeoWareInc/neozipkit/issues). This package is part of the [neozipkit monorepo](../../README.md).
|
|
5
|
+
> **Stable 1.0:** This package **1.0.2** is the first non-beta release. Please report issues on [GitHub](https://github.com/NeoWareInc/neozipkit/issues). This package is part of the [neozipkit monorepo](../../README.md).
|
|
6
|
+
|
|
7
|
+
See [WHATS_NEW.md](WHATS_NEW.md) for release notes.
|
|
11
8
|
|
|
12
9
|
This package provides the client-side API and utilities that work with the sibling **[neozipkit](../neozipkit/)** package for full NZIP (NeoZip) workflows. The **NeoZip Token Service** is a **separate application**; this library contains the **NeoZip Token Service API client and helpers** used to communicate with that server (submit digests, poll for confirmations, fetch proofs, etc.). Run the NeoZip Token Service separately when using timestamping features.
|
|
13
10
|
|
|
@@ -183,7 +180,7 @@ MIT License - see [LICENSE](LICENSE) for details.
|
|
|
183
180
|
|
|
184
181
|
## Publishing (npm)
|
|
185
182
|
|
|
186
|
-
The npm tarball is intentionally minimal: compiled **`dist/`**, the **package root [`README.md`](README.md)**, and **[`LICENSE`](LICENSE)**
|
|
183
|
+
The npm tarball is intentionally minimal: compiled **`dist/`**, the **package root [`README.md`](README.md)**, **[`WHATS_NEW.md`](WHATS_NEW.md)**, and **[`LICENSE`](LICENSE)** (`package.json` `"files"`). **`examples/`**, **`contracts/`**, and other repo docs are **not** on npm; use this repository for those.
|
|
187
184
|
|
|
188
185
|
Preview what will ship: run **`pnpm publish:dry-run`** (it uses **`npm publish --dry-run`**, which matches npm’s file list).
|
|
189
186
|
|
package/WHATS_NEW.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# What’s New in neozip-blockchain
|
|
2
|
+
|
|
3
|
+
Release notes for people who install and use **`neozip-blockchain`** from npm (alongside [`neozipkit`](https://www.npmjs.com/package/neozipkit)).
|
|
4
|
+
|
|
5
|
+
## 1.0.2 (2026-07-28)
|
|
6
|
+
|
|
7
|
+
### First stable release
|
|
8
|
+
|
|
9
|
+
**1.0.2** is the first non-beta release. From here on, this package follows [Semantic Versioning](https://semver.org/).
|
|
10
|
+
|
|
11
|
+
Install with a matching NeoZipKit:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install neozipkit@^1.0.2 neozip-blockchain@^1.0.2
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 0.8.0 (2026-06-30)
|
|
20
|
+
|
|
21
|
+
### Token Service helpers (account, funding, identity)
|
|
22
|
+
|
|
23
|
+
New modules under the `neozip-blockchain/token-service` export for talking to a NeoZip Token Service:
|
|
24
|
+
|
|
25
|
+
- **Account / auth** — register and verify email (`browser` or `app` delivery), magic-link exchange, wallet login challenge/response, phone OTP.
|
|
26
|
+
- **Funding** — read funding policy/status and request a native-gas grant for the primary Data Wallet.
|
|
27
|
+
- **Identity** — wallet ensure/attach challenges and encrypted identity-key registration helpers.
|
|
28
|
+
- **HTTP utilities** — URL normalization, JSON parsing, auth error messages, access-token expiry parsing.
|
|
29
|
+
|
|
30
|
+
These APIs are **stateless**: your app stores tokens and decides how to recover from 401/403.
|
|
31
|
+
|
|
32
|
+
### Email verification delivery
|
|
33
|
+
|
|
34
|
+
When registering, choose how the verification email is sent:
|
|
35
|
+
|
|
36
|
+
- `browser` (default) — web confirm link + code (good for scripts and CLI).
|
|
37
|
+
- `app` — app-style deep link.
|
|
38
|
+
|
|
39
|
+
Set `TOKEN_SERVICE_VERIFICATION_DELIVERY`, or pass `verificationDelivery` / `--browser` / `--app` in the verify-email example.
|
|
40
|
+
|
|
41
|
+
### Breaking changes (Token Service client)
|
|
42
|
+
|
|
43
|
+
- Import from **`neozip-blockchain/token-service`** (`TokenServiceClient`, `getTokenServiceUrl`, `DEFAULT_TOKEN_SERVICE_URL`, …).
|
|
44
|
+
- Configure with **`TOKEN_SERVICE_URL`**, **`TOKEN_SERVICE_EMAIL`**, **`TOKEN_SERVICE_CHAIN_ID`**, optional **`TOKEN_SERVICE_VERIFICATION_DELIVERY`**, **`TOKEN_SERVICE_DEBUG`**.
|
|
45
|
+
- Default server: `https://testnet.token-service.neozip.io`.
|
|
46
|
+
- Example script renames: `example:token-service`, `example:token` (output `token.nzip`).
|
|
47
|
+
|
|
48
|
+
You must also install **`neozipkit`** yourself (peer dependency). It is not bundled inside this package.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 0.6.0 (2026-03-03)
|
|
53
|
+
|
|
54
|
+
- **NZIP contract v2.51** on Base Sepolia (digest-only identity): `0xe4ee4f36CBAF2Bf2959740F6A0B326Acd175Ce77`
|
|
55
|
+
- Verify flows show the contract version (e.g. v2.51)
|
|
56
|
+
- Token example can reuse an existing token or mint a new one
|
|
57
|
+
|
|
58
|
+
*(0.6.0-beta.1 was the same content as a beta npm tag.)*
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 0.5.0 — Initial open-source release
|
|
63
|
+
|
|
64
|
+
- Companion to NeoZipKit for timestamping, NFT minting, and verification
|
|
65
|
+
- NeoZip Token Service client for stamp → upgrade → mint workflows
|
|
66
|
+
- NZIP contracts (v2.50 default; also v2.11 / v2.10)
|
|
67
|
+
- Wallet helpers (browser and Node), ZipkitMinter, ZipkitVerifier
|
|
68
|
+
- OpenTimestamps (OTS) support for Bitcoin-backed timestamps
|
package/dist/index.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export type { EnhancedVerificationResult, BatchVerificationResult, VerificationJ
|
|
|
11
11
|
export { Logger, configureLoggerFromEnvironment } from './utils/Logger';
|
|
12
12
|
export type { LogLevel, LoggerConfig } from './utils/Logger';
|
|
13
13
|
export * from './token-service';
|
|
14
|
-
export declare const VERSION = "0.
|
|
14
|
+
export declare const VERSION = "1.0.2";
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -36,5 +36,5 @@ Object.defineProperty(exports, "configureLoggerFromEnvironment", { enumerable: t
|
|
|
36
36
|
// Export NeoZip Token Service (TokenService) API functionality
|
|
37
37
|
__exportStar(require("./token-service"), exports);
|
|
38
38
|
// Export package version (keep in sync with package.json version)
|
|
39
|
-
exports.VERSION = '0.
|
|
39
|
+
exports.VERSION = '1.0.2';
|
|
40
40
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neozip-blockchain",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Blockchain functionality for NeoZip and companion to neozipkit — NFT minting, verification, wallet management, OpenTimestamps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"files": [
|
|
38
38
|
"dist",
|
|
39
39
|
"README.md",
|
|
40
|
+
"WHATS_NEW.md",
|
|
40
41
|
"LICENSE"
|
|
41
42
|
],
|
|
42
43
|
"publishConfig": {
|
|
@@ -102,14 +103,14 @@
|
|
|
102
103
|
"dotenv-cli": "^7.4.2",
|
|
103
104
|
"jest": "^29.7.0",
|
|
104
105
|
"jest-util": "^30.2.0",
|
|
105
|
-
"neozipkit": "^0.
|
|
106
|
+
"neozipkit": "^1.0.2",
|
|
106
107
|
"ts-jest": "^29.1.2",
|
|
107
108
|
"ts-node": "^10.9.2",
|
|
108
109
|
"tsconfig-paths": "^4.2.0",
|
|
109
110
|
"typescript": "^5.0.0"
|
|
110
111
|
},
|
|
111
112
|
"peerDependencies": {
|
|
112
|
-
"neozipkit": "^0.
|
|
113
|
+
"neozipkit": "^1.0.2"
|
|
113
114
|
},
|
|
114
115
|
"peerDependenciesMeta": {
|
|
115
116
|
"neozipkit": {
|