@monerium/sdk 1.0.8 → 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.
@@ -20,12 +20,15 @@ jobs:
20
20
  - uses: actions/setup-node@v1
21
21
  with:
22
22
  node-version: 18
23
- registry-url: 'https://registry.yarnpkg.com'
23
+ registry-url: 'https://registry.npmjs.org'
24
24
  scope: '@monerium'
25
25
  if: ${{ steps.release.outputs.release_created }}
26
26
  - run: yarn install --frozen-lockfile
27
27
  if: ${{ steps.release.outputs.release_created }}
28
- - run: yarn publish --access=public
28
+ - run: |
29
+ yarn config set scope "@monerium"
30
+ yarn config list
31
+ yarn publish --access=public
29
32
  env:
30
33
  NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
31
34
  if: ${{ steps.release.outputs.release_created }}
package/.yarnrc ADDED
@@ -0,0 +1,3 @@
1
+ "@monerium:registry" "https://registry.yarnpkg.com"
2
+ engine-strict=true
3
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
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
+
3
31
  ## [1.0.7](https://github.com/monerium/sdk/compare/v1.0.6...v1.0.7) (2022-10-12)
4
32
 
5
33
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@monerium/sdk",
3
- "version": "1.0.8",
3
+ "version": "1.0.11",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
- "@monerium:registry": "https://registry.yarnpkg.com/"
6
+ "@monerium:registry": "https://registry.npmjs.org"
7
7
  },
8
8
  "repository": {
9
9
  "type": "git",
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
  }