@alien_org/contract 0.1.3 → 0.1.4

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.cts CHANGED
@@ -134,11 +134,11 @@ interface Events {
134
134
  * Payment status.
135
135
  * - `paid`: Success
136
136
  * - `cancelled`: User rejected
137
- * - `error`: Error (check `errorCode`)
137
+ * - `failed`: Sending transaction failed (check `errorCode`)
138
138
  * @since 0.1.1
139
139
  * @schema
140
140
  */
141
- status: 'paid' | 'cancelled' | 'error';
141
+ status: 'paid' | 'cancelled' | 'failed';
142
142
  /**
143
143
  * Transaction hash (present when status is 'paid').
144
144
  * @since 0.1.1
package/dist/index.d.mts CHANGED
@@ -134,11 +134,11 @@ interface Events {
134
134
  * Payment status.
135
135
  * - `paid`: Success
136
136
  * - `cancelled`: User rejected
137
- * - `error`: Error (check `errorCode`)
137
+ * - `failed`: Sending transaction failed (check `errorCode`)
138
138
  * @since 0.1.1
139
139
  * @schema
140
140
  */
141
- status: 'paid' | 'cancelled' | 'error';
141
+ status: 'paid' | 'cancelled' | 'failed';
142
142
  /**
143
143
  * Transaction hash (present when status is 'paid').
144
144
  * @since 0.1.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alien_org/contract",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",