@monerium/sdk 2.1.20 → 2.2.0

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/CHANGELOG.md CHANGED
@@ -1,115 +1,154 @@
1
1
  # Changelog
2
2
 
3
- ## [2.1.20](https://github.com/monerium/sdk/compare/v2.1.19...v2.1.20) (2023-04-24)
3
+ ## [2.2.0](https://github.com/monerium/sdk/compare/v2.1.23...v2.2.0) (2023-04-25)
4
4
 
5
- ### Bug Fixes
6
5
 
7
- - auth ([9eafd6e](https://github.com/monerium/sdk/commit/9eafd6e5f65dd328ab61067dc345b4cb1388f70b))
8
- - missing semicolon ([2e87267](https://github.com/monerium/sdk/commit/2e87267849957c957b122dd2a0af0c1a282f948f))
9
- - scope shouldnt have at prefix ([4c5ab0f](https://github.com/monerium/sdk/commit/4c5ab0f2a4c24ef637b3a266c39c5e41f05d97ac))
6
+ ### Features
7
+
8
+ * use Yarn PnP ([#73](https://github.com/monerium/sdk/issues/73)) ([4295154](https://github.com/monerium/sdk/commit/4295154487c3eb255b23816b5cf32aac52cae710))
9
+
10
+ ## [2.1.23](https://github.com/monerium/sdk/compare/v2.1.22...v2.1.23) (2023-04-25)
10
11
 
11
- ## [2.1.19](https://github.com/monerium/sdk/compare/v2.1.18...v2.1.19) (2023-04-24)
12
12
 
13
13
  ### Bug Fixes
14
14
 
15
- - npm server ([b6a1e11](https://github.com/monerium/sdk/commit/b6a1e11827b898263d058634c6f4d1b37b34d078))
15
+ * now it should publish succesfully to npm registry ([#71](https://github.com/monerium/sdk/issues/71)) ([5b5e37b](https://github.com/monerium/sdk/commit/5b5e37b2cde1d1e0411e3e023cfcd5f7eca376d6))
16
+
17
+ ## [2.1.22](https://github.com/monerium/sdk/compare/v2.1.21...v2.1.22) (2023-04-24)
16
18
 
17
- ## [2.1.18](https://github.com/monerium/sdk/compare/v2.1.17...v2.1.18) (2023-04-24)
18
19
 
19
20
  ### Bug Fixes
20
21
 
21
- - npm auth ([36a8a47](https://github.com/monerium/sdk/commit/36a8a47e117b25561dbd669a9361b407a915fb89))
22
+ * deploy static pipeline ([#69](https://github.com/monerium/sdk/issues/69)) ([38067e7](https://github.com/monerium/sdk/commit/38067e75e3334b6eb20dcc182f1d6aaca5af0caa))
22
23
 
23
- ## [2.1.17](https://github.com/monerium/sdk/compare/v2.1.16...v2.1.17) (2023-04-24)
24
24
 
25
- ### Bug Fixes
25
+ ## [2.1.21](https://github.com/monerium/sdk/compare/v2.1.20...v2.1.21) (2023-04-24)
26
26
 
27
- - npm ([f55a9f1](https://github.com/monerium/sdk/commit/f55a9f18bf2b798cfe7d4425b8dc5e6b680ff192))
27
+ ### Miscellaneous
28
+
29
+ - cleanup changelog history ([1c4b12b](https://github.com/monerium/sdk/commit/1c4b12b77eaa61d07b0b39d056a35f505416039a))
30
+
31
+ ## [2.1.20](https://github.com/monerium/sdk/compare/v2.0.19...v2.1.20) (2023-04-24)
28
32
 
29
- ## [2.1.16](https://github.com/monerium/sdk/compare/v2.1.15...v2.1.16) (2023-04-24)
33
+ Issues with Github Actions and Yarn v3 resolved.
34
+
35
+ ## [2.0.19](https://github.com/monerium/sdk/compare/v2.0.18...v2.0.19) (2023-04-24)
30
36
 
31
37
  ### Bug Fixes
32
38
 
33
- - npmAuthToken ([5a3416d](https://github.com/monerium/sdk/commit/5a3416dd2f44370a782d54359035ffd9f8ea2c1f))
39
+ - include network and chain in linkAccount ([cd7fe6e](https://github.com/monerium/sdk/commit/cd7fe6e4b52dc38f589e081b7afa6dc36f2436f8))
40
+ - pipeline error ([d489695](https://github.com/monerium/sdk/commit/d489695a567630b0da0a7ec2269569b0eaac93f2))
41
+ - return BearerProfile from auth function ([ef7fe3b](https://github.com/monerium/sdk/commit/ef7fe3b58b21e3671602c70545e4a04669dd6461))
34
42
 
35
- ## [2.1.15](https://github.com/monerium/sdk/compare/v2.1.14...v2.1.15) (2023-04-24)
43
+ ### Miscellaneous
44
+
45
+ - added backwards compatibility to node v17.5 ([61bba5e](https://github.com/monerium/sdk/commit/61bba5e15131e7d125ce03fcb65b39120559d9f3))
46
+ - migrate to yarn v3 ([4d47d6f](https://github.com/monerium/sdk/commit/4d47d6fe4e798e8af61eab7dd03b188322fd0f31))
47
+ - set node engine >= 17.5 ([407cf66](https://github.com/monerium/sdk/commit/407cf66eefa9734e89df9e031f523db70abf7674))
48
+
49
+ ## [2.0.18](https://github.com/monerium/sdk/compare/v2.0.17...v2.0.18) (2023-04-21)
36
50
 
37
51
  ### Bug Fixes
38
52
 
39
- - add publish registry ([582fabd](https://github.com/monerium/sdk/commit/582fabd4602f30f1ae4c971a651c4cc8ec89d68a))
40
- - global set npm auth ([4ae8d49](https://github.com/monerium/sdk/commit/4ae8d498792fd5dd9eb892e1e18ccda5184fa2d3))
53
+ - es6 module imports ([00edf8d](https://github.com/monerium/sdk/commit/00edf8d600e6944fbcc17da00351ffae9ee79b53))
54
+ - test credentials ([00edf8d](https://github.com/monerium/sdk/commit/00edf8d600e6944fbcc17da00351ffae9ee79b53))
55
+
56
+ ### Miscellaneous
57
+
58
+ - explain and add uppercase to the -randomness- ([5ed54d8](https://github.com/monerium/sdk/commit/5ed54d86a79b88293c595bd23ecf07cd30aafe63))
59
+
60
+ ## [2.0.17](https://github.com/monerium/sdk/compare/v2.0.16...v2.0.17) (2023-02-25)
61
+
62
+ ### Miscellaneous
63
+
64
+ - dont use crypto-js for randomizing a string ([412957e](https://github.com/monerium/sdk/commit/412957e028d968bbc483dbc6f8724f7e2da4739a))
41
65
 
42
- ## [2.1.14](https://github.com/monerium/sdk/compare/v2.1.13...v2.1.14) (2023-04-24)
66
+ ## [2.0.16](https://github.com/monerium/sdk/compare/v2.0.15...v2.0.16) (2023-02-25)
43
67
 
44
68
  ### Bug Fixes
45
69
 
46
- - add token ([ff30c0a](https://github.com/monerium/sdk/commit/ff30c0afbca9f7467e3aef2546244bcd57b709d1))
47
- - missing bracket ([817e366](https://github.com/monerium/sdk/commit/817e366c540395ea10c24cb79e1f173d81f337b5))
70
+ - broken build ([b05107c](https://github.com/monerium/sdk/commit/b05107c9e7246153807fe9a8ca65066f9fede989))
48
71
 
49
- ## [2.1.13](https://github.com/monerium/sdk/compare/v2.1.12...v2.1.13) (2023-04-24)
72
+ ## [2.0.15](https://github.com/monerium/sdk/compare/v2.0.14...v2.0.15) (2023-02-25)
50
73
 
51
74
  ### Bug Fixes
52
75
 
53
- - login & whoami ([b22f8db](https://github.com/monerium/sdk/commit/b22f8db0c130dd12ad594e19541ba8988a5848c2))
76
+ - broken build ([8278788](https://github.com/monerium/sdk/commit/8278788a9bc456016805e9fc65cb1137174e096e))
54
77
 
55
- ## [2.1.12](https://github.com/monerium/sdk/compare/v2.1.11...v2.1.12) (2023-04-24)
78
+ ## [2.0.14](https://github.com/monerium/sdk/compare/v2.0.13...v2.0.14) (2023-02-25)
56
79
 
57
80
  ### Bug Fixes
58
81
 
59
- - npm scope with at ([a0b645f](https://github.com/monerium/sdk/commit/a0b645f4f1cf9950b653c7ab40e71c72573a2a5b))
82
+ - broken package ([e3cc93e](https://github.com/monerium/sdk/commit/e3cc93ecab62129387b4bd6ba7d4151adab48ca3))
60
83
 
61
- ## [2.1.11](https://github.com/monerium/sdk/compare/v2.1.10...v2.1.11) (2023-04-24)
84
+ ## [2.0.13](https://github.com/monerium/sdk/compare/v2.0.12...v2.0.13) (2023-02-25)
62
85
 
63
86
  ### Bug Fixes
64
87
 
65
- - auth issue ([28aeb1d](https://github.com/monerium/sdk/commit/28aeb1d8b77b68c10d86db07784664a5c143df03))
88
+ - pkce incorrect encoding + replaced crypto-js with node:crypto polyfill. ([c1b4e66](https://github.com/monerium/sdk/commit/c1b4e66b4bcf906c414b15250d6aaf9485f931a7))
66
89
 
67
- ## [2.1.10](https://github.com/monerium/sdk/compare/v2.1.9...v2.1.10) (2023-04-24)
90
+ ## [2.0.12](https://github.com/monerium/sdk/compare/v2.0.11...v2.0.12) (2023-02-25)
68
91
 
69
92
  ### Bug Fixes
70
93
 
71
- - npm scope ([8f2ea68](https://github.com/monerium/sdk/commit/8f2ea68549d9385fd8eef50fa3820e485efa56c2))
94
+ - replace encodeBase64Url, not available in the downgraded version of crypto-js ([c883b64](https://github.com/monerium/sdk/commit/c883b6422b1d068752a420abce2ce3a14d8a4092))
72
95
 
73
- ## [2.1.9](https://github.com/monerium/sdk/compare/v2.1.8...v2.1.9) (2023-04-24)
96
+ ## [2.0.11](https://github.com/monerium/sdk/compare/v2.0.10...v2.0.11) (2023-02-25)
74
97
 
75
98
  ### Bug Fixes
76
99
 
77
- - always auth ([2ceafec](https://github.com/monerium/sdk/commit/2ceafece261751653bc824729b0e0553e53c8d17))
78
- - npm scope ([cc27404](https://github.com/monerium/sdk/commit/cc27404f76eab0ffab0d1b2aad1823685335c07a))
100
+ - crypto-js to 3.1.9-1 because of https://github.com/brix/crypto-js/issues/256 ([00bffd9](https://github.com/monerium/sdk/commit/00bffd9e7e90315f09cee4a8ade60121d1e1b75a))
79
101
 
80
- ## [2.1.8](https://github.com/monerium/sdk/compare/v2.1.7...v2.1.8) (2023-04-24)
102
+ ### Miscellaneous
103
+
104
+ - remove unnecessary comment ([c8d64ad](https://github.com/monerium/sdk/commit/c8d64adad6157eecd1e2a3faf0bec0a86da74f07))
105
+
106
+ ## [2.0.10](https://github.com/monerium/sdk/compare/v2.0.9...v2.0.10) (2023-02-16)
107
+
108
+ ### Miscellaneous
109
+
110
+ - define properties for automatic wallet link on auth flow ([#19](https://github.com/monerium/sdk/issues/19)) ([3bf845c](https://github.com/monerium/sdk/commit/3bf845cac60bb8a2d5ee7a9dbfa56c76f6996178))
111
+
112
+ ## [2.0.9](https://github.com/monerium/sdk/compare/v2.0.8...v2.0.9) (2023-02-06)
81
113
 
82
114
  ### Bug Fixes
83
115
 
84
- - ja pierdole ([a657bf7](https://github.com/monerium/sdk/commit/a657bf77b5d3f819c780874050042312e4b7dcb1))
116
+ - build files ([1b0f99f](https://github.com/monerium/sdk/commit/1b0f99fcc6635de69b62de72198f22daa2d36b10))
85
117
 
86
- ## [2.1.7](https://github.com/monerium/sdk/compare/v2.1.6...v2.1.7) (2023-04-24)
118
+ ## [2.0.8](https://github.com/monerium/sdk/compare/v2.0.7...v2.0.8) (2023-02-06)
87
119
 
88
120
  ### Bug Fixes
89
121
 
90
- - the internet says this might fix our problems ([2757bc8](https://github.com/monerium/sdk/commit/2757bc84e3851f893a71145b1d82bf32688549e3))
122
+ - move dts-bundle config to configs and update paths ([2de558f](https://github.com/monerium/sdk/commit/2de558f6c69b5c72d77ee1065e326d05072ad16c))
123
+
124
+ ### Miscellaneous
125
+
126
+ - add getting started to README and document pckeRequest ([8cf68dd](https://github.com/monerium/sdk/commit/8cf68dd7fcf28b098192ca0da8dfdb3878a3e449))
127
+ - deprecate pkceRequest for getAuthFlowURI ([4f33174](https://github.com/monerium/sdk/commit/4f33174abbdbc0758b61efc4161e4fc234524ca5))
128
+
129
+ ## [2.0.7](https://github.com/monerium/sdk/compare/v2.0.6...v2.0.7) (2023-01-11)
130
+
131
+ ### Miscellaneous
132
+
133
+ - add commitlint ([bdae6d8](https://github.com/monerium/sdk/commit/bdae6d83ed386d80be0f27e362e6622ad6ca0ffd))
134
+ - add theme for typedoc to expand and make the sidebar more useful ([355f0f8](https://github.com/monerium/sdk/commit/355f0f839b27bdaeaead2463c0afc48409080041))
135
+ - fix and document pckeRequest ([3905283](https://github.com/monerium/sdk/commit/390528378206149862795ee7a46b54649927e384))
91
136
 
92
- ## [2.1.6](https://github.com/monerium/sdk/compare/v2.1.0...v2.1.6) (2023-04-24)
137
+ ## [2.0.6](https://github.com/monerium/sdk/compare/v2.0.0...v2.0.6) (2023-01-05)
93
138
 
94
139
  ### Bug Fixes
95
140
 
96
- - add registry server ([46f5711](https://github.com/monerium/sdk/commit/46f5711560307acce80391b70cf945d35d58d11c))
97
- - cant force version numbers for PleaseRelease ([fc2f2d5](https://github.com/monerium/sdk/commit/fc2f2d5fab12733b9a2cb5f0a567b8b4fcfb5cf0))
98
- - fix ([2d781e3](https://github.com/monerium/sdk/commit/2d781e3780eda0d1ad5cf520f39eab9abfb10c7c))
99
- - frozen lockfile deprecated ([143cb31](https://github.com/monerium/sdk/commit/143cb31c847cc88b1bbcf1a8ba8d2e653ad94001))
100
- - npm scope ([5412bf9](https://github.com/monerium/sdk/commit/5412bf97d85e18d8d6b121199519271036345d05))
101
- - npmAuthToken can be empty, static deploy github action doesnt need it ([e7e553b](https://github.com/monerium/sdk/commit/e7e553b03def857101b02fcb31b1d4f0f6ba0479))
102
- - remove verbose ([c9a1097](https://github.com/monerium/sdk/commit/c9a10976c5dd2de7cc68c01af4e663a392de3224))
103
- - yarn cache ([cacbdfb](https://github.com/monerium/sdk/commit/cacbdfbd637966290c2dbd313179cc128e5c0bb4))
104
- - zero install ([f563c15](https://github.com/monerium/sdk/commit/f563c1514801675b9baf63b10aa7ac8d856cb7fa))
141
+ - Update TypeDocs and set workflow to run only on release ([42e5b41](https://github.com/monerium/sdk/commit/42e5b417eca0e2e1f7d7af51a5cde59df28c1ba0))
142
+ - Update TypeDocs and set workflow to run only on release ([#7](https://github.com/monerium/sdk/issues/7)) ([42e5b41](https://github.com/monerium/sdk/commit/42e5b417eca0e2e1f7d7af51a5cde59df28c1ba0))
105
143
 
106
144
  ### Miscellaneous
107
145
 
108
- - **main:** release 2.1.0 ([#52](https://github.com/monerium/sdk/issues/52)) ([c2b9590](https://github.com/monerium/sdk/commit/c2b95906eb0f654f51c5d3fb54fdcf21b87e5d44))
109
- - **main:** release 2.1.1 ([#47](https://github.com/monerium/sdk/issues/47)) ([c39eed0](https://github.com/monerium/sdk/commit/c39eed01763cc3506adea0d25caeb51e088b6634))
110
- - **main:** release 2.1.2 ([#48](https://github.com/monerium/sdk/issues/48)) ([5ed5b48](https://github.com/monerium/sdk/commit/5ed5b486378300298cd9ae9a80b0972fc3c9542a))
111
- - **main:** release 2.1.3 ([#49](https://github.com/monerium/sdk/issues/49)) ([9b517f4](https://github.com/monerium/sdk/commit/9b517f497e8e7a42265f065c0b71fbb3796bd7cd))
112
- - **main:** release 2.1.4 ([#50](https://github.com/monerium/sdk/issues/50)) ([83d3127](https://github.com/monerium/sdk/commit/83d3127364411b4bc57e842d68ddaafc9ada4355))
113
- - **main:** release 2.1.5 ([#51](https://github.com/monerium/sdk/issues/51)) ([b977d7e](https://github.com/monerium/sdk/commit/b977d7e262e98c8683952bf2ca59986f19265fb6))
114
- - release 2.1.0 ([6f4d549](https://github.com/monerium/sdk/commit/6f4d5490843aaf2385dfd83e77159f4f28da8f42))
115
- - release 2.1.6 ([68c01f3](https://github.com/monerium/sdk/commit/68c01f38fda0e9cd95322ae653fb3db391939c6f))
146
+ - cleanup ([5c75dea](https://github.com/monerium/sdk/commit/5c75dea7ee3cd8468a09fdf2f70024047e87f3a0))
147
+ - **main:** release 2.0.5 ([#13](https://github.com/monerium/sdk/issues/13)) ([21c4052](https://github.com/monerium/sdk/commit/21c405262a6f6d0503dadc11aea483c2ebf3574f))
148
+
149
+ ## [2.0.5](https://github.com/monerium/sdk/compare/v2.0.0...v2.0.5) (2023-01-05)
150
+
151
+ ### Bug Fixes
152
+
153
+ - Update TypeDocs and adjust workflows ([42e5b41
154
+ ](https://github.com/monerium/sdk/commit/42e5b417eca0e2e1f7d7af51a5cde59df28c1ba0))
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v7.1.0
1
+ // Generated by dts-bundle-generator v7.2.0
2
2
 
3
3
  export type Environment = {
4
4
  api: string;
@@ -19,17 +19,17 @@ export interface BearerProfile {
19
19
  userId: string;
20
20
  }
21
21
  export declare enum Currency {
22
- eur = "eur",
23
- usd = "usd",
24
- gbp = "gbp",
25
- isk = "isk",
22
+ eur = 'eur',
23
+ usd = 'usd',
24
+ gbp = 'gbp',
25
+ isk = 'isk',
26
26
  }
27
27
  export type AuthArgs =
28
- | Omit<AuthCode, "grant_type">
29
- | Omit<RefreshToken, "grant_type">
30
- | Omit<ClientCredentials, "grant_type">;
28
+ | Omit<AuthCode, 'grant_type'>
29
+ | Omit<RefreshToken, 'grant_type'>
30
+ | Omit<ClientCredentials, 'grant_type'>;
31
31
  export interface AuthCode {
32
- grant_type: "authorization_code";
32
+ grant_type: 'authorization_code';
33
33
  client_id: string;
34
34
  code: string;
35
35
  code_verifier: string;
@@ -37,13 +37,13 @@ export interface AuthCode {
37
37
  scope?: string;
38
38
  }
39
39
  export interface RefreshToken {
40
- grant_type: "refresh_token";
40
+ grant_type: 'refresh_token';
41
41
  client_id: string;
42
42
  refresh_token: string;
43
43
  scope?: string;
44
44
  }
45
45
  export interface ClientCredentials {
46
- grant_type: "client_credentials";
46
+ grant_type: 'client_credentials';
47
47
  client_id: string;
48
48
  client_secret: string;
49
49
  scope?: string;
@@ -53,7 +53,7 @@ export interface ClientCredentials {
53
53
  */
54
54
  export type PKCERequestArgs = Omit<
55
55
  PKCERequest,
56
- "code_challenge" | "code_challenge_method" | "response_type"
56
+ 'code_challenge' | 'code_challenge_method' | 'response_type'
57
57
  >;
58
58
  export type PKCERequest = {
59
59
  /** the authentication flow client id of the application */
@@ -61,9 +61,9 @@ export type PKCERequest = {
61
61
  /** the code challenge automatically generated by the SDK */
62
62
  code_challenge: string;
63
63
  /** the code challenge method for the authentication flow , handled by the SDK */
64
- code_challenge_method: "S256";
64
+ code_challenge_method: 'S256';
65
65
  /** the response type of the authentication flow, handled by the SDK */
66
- response_type: "code";
66
+ response_type: 'code';
67
67
  /** the state of the application */
68
68
  state?: string;
69
69
  /** the redirect uri of the application */
@@ -80,18 +80,18 @@ export type PKCERequest = {
80
80
  chain?: Chain;
81
81
  };
82
82
  declare enum Method {
83
- password = "password",
84
- resource = "resource",
85
- jwt = "jwt",
86
- apiKey = "apiKey",
83
+ password = 'password',
84
+ resource = 'resource',
85
+ jwt = 'jwt',
86
+ apiKey = 'apiKey',
87
87
  }
88
88
  export declare enum ProfileType {
89
- corporate = "corporate",
90
- personal = "personal",
89
+ corporate = 'corporate',
90
+ personal = 'personal',
91
91
  }
92
92
  export declare enum Permission {
93
- read = "read",
94
- write = "write",
93
+ read = 'read',
94
+ write = 'write',
95
95
  }
96
96
  export interface AuthProfile {
97
97
  id: string;
@@ -103,7 +103,7 @@ export interface AuthContext {
103
103
  userId: string;
104
104
  email: string;
105
105
  name: string;
106
- roles: "admin"[];
106
+ roles: 'admin'[];
107
107
  auth: {
108
108
  method: Method;
109
109
  subject: string;
@@ -113,23 +113,23 @@ export interface AuthContext {
113
113
  profiles: AuthProfile[];
114
114
  }
115
115
  export declare enum KYCState {
116
- absent = "absent",
117
- submitted = "submitted",
118
- pending = "pending",
119
- confirmed = "confirmed",
116
+ absent = 'absent',
117
+ submitted = 'submitted',
118
+ pending = 'pending',
119
+ confirmed = 'confirmed',
120
120
  }
121
121
  export declare enum KYCOutcome {
122
- approved = "approved",
123
- rejected = "rejected",
124
- unknown = "unknown",
122
+ approved = 'approved',
123
+ rejected = 'rejected',
124
+ unknown = 'unknown',
125
125
  }
126
126
  export interface KYC {
127
127
  state: KYCState;
128
128
  outcome: KYCOutcome;
129
129
  }
130
130
  export declare enum PaymentStandard {
131
- iban = "iban",
132
- scan = "scan",
131
+ iban = 'iban',
132
+ scan = 'scan',
133
133
  }
134
134
  export interface Account {
135
135
  address: string;
@@ -149,15 +149,15 @@ export interface Profile {
149
149
  accounts: Account[];
150
150
  }
151
151
  export declare enum Chain {
152
- polygon = "polygon",
153
- ethereum = "ethereum",
154
- gnosis = "gnosis",
152
+ polygon = 'polygon',
153
+ ethereum = 'ethereum',
154
+ gnosis = 'gnosis',
155
155
  }
156
156
  export declare enum Network {
157
- mainnet = "mainnet",
158
- chiado = "chiado",
159
- goerli = "goerli",
160
- mumbai = "mumbai",
157
+ mainnet = 'mainnet',
158
+ chiado = 'chiado',
159
+ goerli = 'goerli',
160
+ mumbai = 'mumbai',
161
161
  }
162
162
  export interface Balance {
163
163
  currency: Currency;
@@ -171,17 +171,17 @@ export interface Balances {
171
171
  balances: Balance[];
172
172
  }
173
173
  export declare enum OrderKind {
174
- redeem = "redeem",
175
- issue = "issue",
174
+ redeem = 'redeem',
175
+ issue = 'issue',
176
176
  }
177
177
  export declare enum OrderState {
178
- placed = "placed",
179
- pending = "pending",
180
- processed = "processed",
181
- rejected = "rejected",
178
+ placed = 'placed',
179
+ pending = 'pending',
180
+ processed = 'processed',
181
+ rejected = 'rejected',
182
182
  }
183
183
  export interface Fee {
184
- provider: "satchel";
184
+ provider: 'satchel';
185
185
  currency: Currency;
186
186
  amount: string;
187
187
  }
@@ -295,7 +295,7 @@ export declare class MoneriumClient {
295
295
  /** The PKCE code verifier */
296
296
  codeVerifier?: string;
297
297
  bearerProfile?: BearerProfile;
298
- constructor(env?: "production" | "sandbox");
298
+ constructor(env?: 'production' | 'sandbox');
299
299
  auth(args: AuthArgs): Promise<BearerProfile>;
300
300
  /**
301
301
  * Construct the url to the authorization code flow,