@monerium/sdk 1.0.4 → 1.0.11
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/.github/workflows/release-please.yml +5 -1
- package/.yarnrc +3 -0
- package/CHANGELOG.md +56 -0
- package/README.md +1 -1
- package/package.json +9 -2
- package/src/lib/client.ts +0 -18
- package/yarn-error.log +2461 -0
|
@@ -21,10 +21,14 @@ jobs:
|
|
|
21
21
|
with:
|
|
22
22
|
node-version: 18
|
|
23
23
|
registry-url: 'https://registry.npmjs.org'
|
|
24
|
+
scope: '@monerium'
|
|
24
25
|
if: ${{ steps.release.outputs.release_created }}
|
|
25
26
|
- run: yarn install --frozen-lockfile
|
|
26
27
|
if: ${{ steps.release.outputs.release_created }}
|
|
27
|
-
- run:
|
|
28
|
+
- run: |
|
|
29
|
+
yarn config set scope "@monerium"
|
|
30
|
+
yarn config list
|
|
31
|
+
yarn publish --access=public
|
|
28
32
|
env:
|
|
29
33
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
30
34
|
if: ${{ steps.release.outputs.release_created }}
|
package/.yarnrc
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.11](https://github.com/monerium/sdk/compare/v1.0.10...v1.0.11) (2022-10-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* remove empty cli option ([d0d4642](https://github.com/monerium/sdk/commit/d0d46424d2dabd92d31344498fc9dc42bd57c6cb))
|
|
9
|
+
|
|
10
|
+
## [1.0.10](https://github.com/monerium/sdk/compare/v1.0.9...v1.0.10) (2022-10-12)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* try setting config in action ([2c53b3b](https://github.com/monerium/sdk/commit/2c53b3b67628ec04f51f062bb0a57bf5a792b15c))
|
|
16
|
+
|
|
17
|
+
## [1.0.9](https://github.com/monerium/sdk/compare/v1.0.8...v1.0.9) (2022-10-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* try adding registry and scope to npmjs ([af26ff4](https://github.com/monerium/sdk/commit/af26ff4c9173a089e69eabaceebabb1583892c85))
|
|
23
|
+
|
|
24
|
+
## [1.0.8](https://github.com/monerium/sdk/compare/v1.0.7...v1.0.8) (2022-10-12)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* **automatic-publish:** try adding the scope to action ([437bf59](https://github.com/monerium/sdk/commit/437bf595b225e92d48fce4c22be2fcdbeef8fdca))
|
|
30
|
+
|
|
31
|
+
## [1.0.7](https://github.com/monerium/sdk/compare/v1.0.6...v1.0.7) (2022-10-12)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* pipeline still failing, try adding access as public and include registry in package.json ([a798cb0](https://github.com/monerium/sdk/commit/a798cb0a96dcc8c1f07909cd01678db52daa9925))
|
|
37
|
+
|
|
38
|
+
## [1.0.6](https://github.com/monerium/sdk/compare/v1.0.5...v1.0.6) (2022-10-12)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* add the correct registry-url ([1ace305](https://github.com/monerium/sdk/commit/1ace30584efc3fc1cd85e47eaaae6030d01eff98))
|
|
44
|
+
|
|
45
|
+
## [1.0.5](https://github.com/monerium/sdk/compare/v1.0.4...v1.0.5) (2022-10-12)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* add any comment to trigger an automated publish ([d64bce4](https://github.com/monerium/sdk/commit/d64bce48b6b241f76232b79d097b507367ccad3e))
|
|
51
|
+
|
|
52
|
+
## [1.0.4](https://github.com/monerium/sdk/compare/v1.0.3...v1.0.4) (2022-10-12)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* bump node version to 18 to be compatible with Svelte ([58dd71c](https://github.com/monerium/sdk/commit/58dd71c489eeb531d7f91a0d359d6bc4b3e50950))
|
|
58
|
+
|
|
3
59
|
## [1.0.3](https://github.com/monerium/sdk/compare/v1.0.2...v1.0.3) (2022-10-12)
|
|
4
60
|
|
|
5
61
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @monerium/sdk
|
|
2
2
|
|
|
3
|
-
Everything you need to interact with Monerium.
|
|
3
|
+
Everything you need to interact with the Monerium API - An electronic money issuer.
|
|
4
4
|
|
|
5
5
|
_This package is in development. Please make sure to check if any future updates contain commits that may change the behaviour of your application before you upgrade._
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monerium/sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.11",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"@monerium:registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/monerium/sdk.git"
|
|
11
|
+
},
|
|
5
12
|
"scripts": {
|
|
6
13
|
"dev": "vite dev",
|
|
7
14
|
"test": "vitest",
|
package/src/lib/client.ts
CHANGED
|
@@ -128,24 +128,6 @@ interface PlaceOrderPayloadBase {
|
|
|
128
128
|
type PlaceOrderPayload = PlaceOrderPayloadBase &
|
|
129
129
|
(PlaceOrderPayloadByAccount | PlaceOrderPayloadByAddress);
|
|
130
130
|
|
|
131
|
-
const order: PlaceOrderPayload = {
|
|
132
|
-
kind: 'redeem',
|
|
133
|
-
amount: '1',
|
|
134
|
-
signature: 'sign',
|
|
135
|
-
message: 'TODO',
|
|
136
|
-
accountId: 'TODO',
|
|
137
|
-
counterpart: {
|
|
138
|
-
identifier: {
|
|
139
|
-
standard: 'iban',
|
|
140
|
-
iban: '1234'
|
|
141
|
-
},
|
|
142
|
-
details: {
|
|
143
|
-
firstName: 'Name',
|
|
144
|
-
lastName: 'Nameson'
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
|
|
149
131
|
interface SupportingDocumentPayload {
|
|
150
132
|
file: File;
|
|
151
133
|
}
|