@cardano-slips/flow 0.0.1 → 0.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/dist/index.d.ts +8 -23
- package/dist/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +8 -23
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The public entry point of `@cardano-slips/flow`.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* This is the half that runs in a browser next to a wallet, and two things
|
|
12
|
-
* about it do not change as the rest arrives.
|
|
13
|
-
*
|
|
14
|
-
* **It refuses; it does not decide.** The comparison between what a
|
|
15
|
-
* transaction does and what the endpoint declared is `verifier`'s, and it is a
|
|
16
|
-
* pure function so that the attack examples exercise the same code a real
|
|
17
|
-
* signature runs through. What lives here is the consequence: a mismatch
|
|
18
|
-
* renders as a block with no control to press, and there is no override path
|
|
19
|
-
* to write — not a setting, not an allowlist, not a confirmation.
|
|
20
|
-
*
|
|
21
|
-
* **It does not own the page it is dropped into.** These components go into
|
|
22
|
-
* third-party pages: no fixed positioning, no assumption about the document,
|
|
23
|
-
* and styles that survive an inherited font stack. Design tokens live in
|
|
24
|
-
* `tokens.css` as custom properties and are the only source of a colour.
|
|
2
|
+
* The public entry point of `@cardano-slips/flow`. The `exports` map exposes
|
|
3
|
+
* this module and nothing else, so moving a file is never a breaking change.
|
|
4
|
+
*
|
|
5
|
+
* Two properties hold as the rest of the package arrives. It refuses but does
|
|
6
|
+
* not decide — the comparison is `verifier`'s, and a mismatch renders as a
|
|
7
|
+
* block with no override path to write. And it does not own the page it is
|
|
8
|
+
* dropped into: no fixed positioning, no assumptions about the document, and
|
|
9
|
+
* colours only from the custom properties in `tokens.css`.
|
|
25
10
|
*/
|
|
26
11
|
export {};
|
|
27
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cardano-slips/flow",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "The client side of Cardano Slips: CIP-30 orchestration, local balancing, and the React components that render a Slip and block a signature when its effects disagree",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cardano",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"react": "^19.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@cardano-slips/core": "^0.0
|
|
45
|
-
"@cardano-slips/verifier": "^0.0.
|
|
44
|
+
"@cardano-slips/core": "^0.1.0",
|
|
45
|
+
"@cardano-slips/verifier": "^0.0.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@testing-library/react": "^16.3.2",
|
package/src/index.ts
CHANGED
|
@@ -1,26 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The public entry point of `@cardano-slips/flow`.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* This is the half that runs in a browser next to a wallet, and two things
|
|
12
|
-
* about it do not change as the rest arrives.
|
|
13
|
-
*
|
|
14
|
-
* **It refuses; it does not decide.** The comparison between what a
|
|
15
|
-
* transaction does and what the endpoint declared is `verifier`'s, and it is a
|
|
16
|
-
* pure function so that the attack examples exercise the same code a real
|
|
17
|
-
* signature runs through. What lives here is the consequence: a mismatch
|
|
18
|
-
* renders as a block with no control to press, and there is no override path
|
|
19
|
-
* to write — not a setting, not an allowlist, not a confirmation.
|
|
20
|
-
*
|
|
21
|
-
* **It does not own the page it is dropped into.** These components go into
|
|
22
|
-
* third-party pages: no fixed positioning, no assumption about the document,
|
|
23
|
-
* and styles that survive an inherited font stack. Design tokens live in
|
|
24
|
-
* `tokens.css` as custom properties and are the only source of a colour.
|
|
2
|
+
* The public entry point of `@cardano-slips/flow`. The `exports` map exposes
|
|
3
|
+
* this module and nothing else, so moving a file is never a breaking change.
|
|
4
|
+
*
|
|
5
|
+
* Two properties hold as the rest of the package arrives. It refuses but does
|
|
6
|
+
* not decide — the comparison is `verifier`'s, and a mismatch renders as a
|
|
7
|
+
* block with no override path to write. And it does not own the page it is
|
|
8
|
+
* dropped into: no fixed positioning, no assumptions about the document, and
|
|
9
|
+
* colours only from the custom properties in `tokens.css`.
|
|
25
10
|
*/
|
|
26
11
|
export {}
|