@xrpl-wallet-kit/adapter-crossmark 0.1.19 → 0.1.20
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 +18 -0
- package/THIRD_PARTY_NOTICES.md +19 -0
- package/dist/index.js +1443 -114
- package/dist/index.js.map +7 -0
- package/dist/licenses/CROSSMARK-LICENSE.txt +674 -0
- package/package.json +11 -5
package/README.md
CHANGED
|
@@ -47,6 +47,24 @@ Crossmark restore uses SDK state that is already available after reload. The ada
|
|
|
47
47
|
|
|
48
48
|
This keeps Crossmark aligned with the core adapter contract: core manages storage and events, while the adapter proves whether the current wallet provider still owns the stored account. Interactive sign-in remains part of `connect()`, not `restoreSession()`.
|
|
49
49
|
|
|
50
|
+
## Package Preparation
|
|
51
|
+
|
|
52
|
+
Starting with 0.1.20, the prepared package bundles the pinned Crossmark SDK runtime, leaving
|
|
53
|
+
`@xrpl-wallet-kit/core` as its only runtime dependency. The SDK and its legacy
|
|
54
|
+
typings chain remain development dependencies. Public adapter types do not
|
|
55
|
+
re-export upstream SDK declarations.
|
|
56
|
+
|
|
57
|
+
Workspace `build` and this adapter's `build`/`prepack` run the preparation step.
|
|
58
|
+
Run a workspace build before packing; `prepack` requires existing compiled JS
|
|
59
|
+
and declarations. The step rejects unexpected bundled dependencies, unresolved
|
|
60
|
+
runtime imports, and upstream declaration imports, and retains the exact SDK
|
|
61
|
+
license. See `THIRD_PARTY_NOTICES.md` for the unresolved upstream license
|
|
62
|
+
discrepancy. Published versions are unchanged until an explicit release.
|
|
63
|
+
|
|
64
|
+
An isolated tarball consumer install, runtime/type smoke checks, dependency
|
|
65
|
+
audit, and redistribution review are still required before release. Do not
|
|
66
|
+
treat a source-level check as evidence that a published package is clean.
|
|
67
|
+
|
|
50
68
|
## Testing
|
|
51
69
|
|
|
52
70
|
Pass a mock provider for isolated tests:
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
The prepared adapter artifact includes the runtime of `@crossmarkio/sdk@0.4.0`.
|
|
4
|
+
It does not expose or redistribute the SDK's declaration namespace; the public
|
|
5
|
+
adapter declarations use Wallet Kit's own `CrossmarkProvider` interface.
|
|
6
|
+
|
|
7
|
+
The SDK npm manifest declares MIT, but its published `LICENSE` contains GNU
|
|
8
|
+
General Public License version 3 text. Package preparation preserves the exact
|
|
9
|
+
shipped text in `dist/licenses/CROSSMARK-LICENSE.txt` and rejects a changed
|
|
10
|
+
version or license. This notice records the discrepancy without resolving the
|
|
11
|
+
publisher's intended license. Clarification and a redistribution review remain
|
|
12
|
+
required before release; retaining a notice alone is not a licensing clearance.
|
|
13
|
+
|
|
14
|
+
Upstream artifact:
|
|
15
|
+
https://registry.npmjs.org/@crossmarkio/sdk/-/sdk-0.4.0.tgz
|
|
16
|
+
|
|
17
|
+
This packaging change removes the SDK/typings dependency installation chain
|
|
18
|
+
from the prepared adapter's runtime manifest. It does not patch upstream
|
|
19
|
+
cryptography or remove the development workspace's audit findings.
|