@xyo-network/module-model 2.92.0 → 2.92.1

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
@@ -10,24 +10,24 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/assert": "^3.0.6",
14
- "@xylabs/hex": "^3.0.6",
15
- "@xylabs/lodash": "^3.0.6",
16
- "@xylabs/logger": "^3.0.6",
17
- "@xylabs/object": "^3.0.6",
18
- "@xylabs/promise": "^3.0.6",
19
- "@xylabs/retry": "^3.0.6",
20
- "@xyo-network/account-model": "~2.92.0",
21
- "@xyo-network/address-payload-plugin": "~2.92.0",
22
- "@xyo-network/boundwitness-model": "~2.92.0",
23
- "@xyo-network/manifest-model": "~2.92.0",
24
- "@xyo-network/module-events": "~2.92.0",
25
- "@xyo-network/payload-model": "~2.92.0"
13
+ "@xylabs/assert": "^3.0.11",
14
+ "@xylabs/hex": "^3.0.11",
15
+ "@xylabs/lodash": "^3.0.11",
16
+ "@xylabs/logger": "^3.0.11",
17
+ "@xylabs/object": "^3.0.11",
18
+ "@xylabs/promise": "^3.0.11",
19
+ "@xylabs/retry": "^3.0.11",
20
+ "@xyo-network/account-model": "~2.92.1",
21
+ "@xyo-network/address-payload-plugin": "~2.92.1",
22
+ "@xyo-network/boundwitness-model": "~2.92.1",
23
+ "@xyo-network/manifest-model": "~2.92.1",
24
+ "@xyo-network/module-events": "~2.92.1",
25
+ "@xyo-network/payload-model": "~2.92.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@xylabs/ts-scripts-yarn3": "^3.4.1",
29
- "@xylabs/tsconfig": "^3.4.1",
30
- "typescript": "^5.3.3"
28
+ "@xylabs/ts-scripts-yarn3": "^3.5.0",
29
+ "@xylabs/tsconfig": "^3.5.0",
30
+ "typescript": "^5.4.2"
31
31
  },
32
32
  "description": "Primary SDK for using XYO Protocol 2.0",
33
33
  "types": "dist/node/index.d.ts",
@@ -68,6 +68,6 @@
68
68
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
69
69
  },
70
70
  "sideEffects": false,
71
- "version": "2.92.0",
71
+ "version": "2.92.1",
72
72
  "type": "module"
73
73
  }
@@ -6,10 +6,16 @@ import { ModuleName } from '../ModuleIdentifier'
6
6
  export type Direction = 'up' | 'down' | 'all'
7
7
  export type Visibility = 'public' | 'private' | 'all'
8
8
 
9
- export interface ObjectFilterOptions<T extends EmptyObject = AnyObject> {
9
+ export interface ResolveStrategy {
10
+ maxDepth?: number
11
+ required?: boolean | 'warn' | 'log'
12
+ retry?: number
13
+ timeout?: number
14
+ }
15
+
16
+ export interface ObjectFilterOptions<T extends EmptyObject = AnyObject> extends ResolveStrategy {
10
17
  direction?: Direction
11
18
  identity?: TypeCheck<T>
12
- maxDepth?: number
13
19
  visibility?: Visibility
14
20
  }
15
21