@aboutcircles/sdk-types 0.1.1 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aboutcircles/sdk-types",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "TypeScript type definitions for Circles SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,6 +24,10 @@
24
24
  "types",
25
25
  "typescript"
26
26
  ],
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/aboutcircles/sdk"
30
+ },
27
31
  "license": "MIT",
28
32
  "dependencies": {
29
33
  "abitype": "^1.1.1"
@@ -1,34 +0,0 @@
1
- import type { Address } from './base';
2
- /**
3
- * Transaction history types
4
- */
5
- /**
6
- * Transaction history row (base data from RPC)
7
- * Might include conversions between different circle representations
8
- */
9
- export interface TransactionHistoryRow {
10
- blockNumber: number;
11
- timestamp: number;
12
- transactionIndex: number;
13
- logIndex: number;
14
- transactionHash: string;
15
- version: number;
16
- from: Address;
17
- to: Address;
18
- id: string;
19
- tokenAddress: Address;
20
- value: string;
21
- /** Human-readable circle amount (demurraged) */
22
- circles?: number;
23
- /** Atto-circles (demurraged, 18 decimals) */
24
- attoCircles?: bigint;
25
- /** Static circles (inflationary, human-readable) */
26
- staticCircles?: number;
27
- /** Atto-static circles (inflationary, 18 decimals) */
28
- staticAttoCircles?: bigint;
29
- /** Time Circles (CRC) human-readable */
30
- crc?: number;
31
- /** Atto-CRC (18 decimals) */
32
- attoCrc?: bigint;
33
- }
34
- //# sourceMappingURL=transaction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wCAAwC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1 +0,0 @@
1
- export {};