@xylabs/object 3.0.20 → 3.0.22
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/browser/AnyObject.d.cts +2 -3
- package/dist/browser/AnyObject.d.cts.map +1 -1
- package/dist/browser/AnyObject.d.mts +2 -3
- package/dist/browser/AnyObject.d.mts.map +1 -1
- package/dist/browser/AnyObject.d.ts +2 -3
- package/dist/browser/AnyObject.d.ts.map +1 -1
- package/dist/node/AnyObject.d.cts +2 -3
- package/dist/node/AnyObject.d.cts.map +1 -1
- package/dist/node/AnyObject.d.mts +2 -3
- package/dist/node/AnyObject.d.mts.map +1 -1
- package/dist/node/AnyObject.d.ts +2 -3
- package/dist/node/AnyObject.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/AnyObject.ts +2 -3
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TypedKey
|
|
2
|
-
import { EmptyObject } from './EmptyObject';
|
|
1
|
+
import { TypedKey } from '@xylabs/promise';
|
|
3
2
|
/**
|
|
4
3
|
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
|
|
5
4
|
* will result in a type that includes the universal set of field names
|
|
6
5
|
*/
|
|
7
|
-
export type AnyObject =
|
|
6
|
+
export type AnyObject = Record<TypedKey, unknown>;
|
|
8
7
|
//# sourceMappingURL=AnyObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TypedKey
|
|
2
|
-
import { EmptyObject } from './EmptyObject';
|
|
1
|
+
import { TypedKey } from '@xylabs/promise';
|
|
3
2
|
/**
|
|
4
3
|
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
|
|
5
4
|
* will result in a type that includes the universal set of field names
|
|
6
5
|
*/
|
|
7
|
-
export type AnyObject =
|
|
6
|
+
export type AnyObject = Record<TypedKey, unknown>;
|
|
8
7
|
//# sourceMappingURL=AnyObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TypedKey
|
|
2
|
-
import { EmptyObject } from './EmptyObject';
|
|
1
|
+
import { TypedKey } from '@xylabs/promise';
|
|
3
2
|
/**
|
|
4
3
|
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
|
|
5
4
|
* will result in a type that includes the universal set of field names
|
|
6
5
|
*/
|
|
7
|
-
export type AnyObject =
|
|
6
|
+
export type AnyObject = Record<TypedKey, unknown>;
|
|
8
7
|
//# sourceMappingURL=AnyObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TypedKey
|
|
2
|
-
import { EmptyObject } from './EmptyObject';
|
|
1
|
+
import { TypedKey } from '@xylabs/promise';
|
|
3
2
|
/**
|
|
4
3
|
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
|
|
5
4
|
* will result in a type that includes the universal set of field names
|
|
6
5
|
*/
|
|
7
|
-
export type AnyObject =
|
|
6
|
+
export type AnyObject = Record<TypedKey, unknown>;
|
|
8
7
|
//# sourceMappingURL=AnyObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TypedKey
|
|
2
|
-
import { EmptyObject } from './EmptyObject';
|
|
1
|
+
import { TypedKey } from '@xylabs/promise';
|
|
3
2
|
/**
|
|
4
3
|
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
|
|
5
4
|
* will result in a type that includes the universal set of field names
|
|
6
5
|
*/
|
|
7
|
-
export type AnyObject =
|
|
6
|
+
export type AnyObject = Record<TypedKey, unknown>;
|
|
8
7
|
//# sourceMappingURL=AnyObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA"}
|
package/dist/node/AnyObject.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TypedKey
|
|
2
|
-
import { EmptyObject } from './EmptyObject';
|
|
1
|
+
import { TypedKey } from '@xylabs/promise';
|
|
3
2
|
/**
|
|
4
3
|
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
|
|
5
4
|
* will result in a type that includes the universal set of field names
|
|
6
5
|
*/
|
|
7
|
-
export type AnyObject =
|
|
6
|
+
export type AnyObject = Record<TypedKey, unknown>;
|
|
8
7
|
//# sourceMappingURL=AnyObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"AnyObject.d.ts","sourceRoot":"","sources":["../../src/AnyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
},
|
|
12
12
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@xylabs/assert": "^3.0.
|
|
15
|
-
"@xylabs/logger": "^3.0.
|
|
16
|
-
"@xylabs/promise": "^3.0.
|
|
14
|
+
"@xylabs/assert": "^3.0.22",
|
|
15
|
+
"@xylabs/logger": "^3.0.22",
|
|
16
|
+
"@xylabs/promise": "^3.0.22"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@xylabs/ts-scripts-yarn3": "^3.5.2",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
|
-
"version": "3.0.
|
|
61
|
+
"version": "3.0.22",
|
|
62
62
|
"type": "module"
|
|
63
63
|
}
|
package/src/AnyObject.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TypedKey
|
|
1
|
+
import { TypedKey } from '@xylabs/promise'
|
|
2
2
|
|
|
3
|
-
import { EmptyObject } from './EmptyObject'
|
|
4
3
|
/**
|
|
5
4
|
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
|
|
6
5
|
* will result in a type that includes the universal set of field names
|
|
7
6
|
*/
|
|
8
|
-
export type AnyObject =
|
|
7
|
+
export type AnyObject = Record<TypedKey, unknown>
|