Skip to content

Commit

Permalink
updo and fixed some mocked tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Oct 8, 2024
1 parent dd95c06 commit 8cb5362
Show file tree
Hide file tree
Showing 123 changed files with 837 additions and 822 deletions.
2 changes: 2 additions & 0 deletions jestSetup/globalSetup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { config } from 'dotenv'
config()
import '@jest/globals'

import type { Config } from 'jest'
import type { SuperTest, Test } from 'supertest'

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,14 @@
},
"devDependencies": {
"@babel/core": "^7.25.7",
"@jest/globals": "^29.7.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/jest": "^29.5.13",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@xylabs/eslint-config-flat": "^4.1.0",
"@xylabs/forget": "^4.0.10",
"@xylabs/forget": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"@xylabs/tsconfig-dom-jest": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-payload-plugins/packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/object": "^4.0.10",
"@xylabs/object": "^4.1.0",
"@xyo-network/payload-model": "workspace:^",
"@xyo-network/payload-plugin": "workspace:^"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/core-payload-plugins/packages/domain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/axios": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/platform": "^4.0.10",
"@xylabs/axios": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/platform": "^4.1.0",
"@xyo-network/api-models": "workspace:^",
"@xyo-network/dns": "workspace:^",
"@xyo-network/huri": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-payload-plugins/packages/value/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/object": "^4.0.10",
"@xylabs/object": "^4.1.0",
"@xyo-network/payload-model": "workspace:^",
"@xyo-network/payload-plugin": "workspace:^"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/manifest/packages/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"package-compile": "yarn gen-schema && yarn package-compile-only"
},
"dependencies": {
"@xylabs/hex": "^4.0.10",
"@xylabs/hex": "^4.1.0",
"@xyo-network/payload-model": "workspace:^"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/manifest/packages/wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xyo-network/account": "workspace:^",
"@xyo-network/manifest-model": "workspace:^",
"@xyo-network/module-factory-locator": "workspace:^",
Expand All @@ -41,7 +41,7 @@
"@xyo-network/wallet-model": "workspace:^"
},
"devDependencies": {
"@xylabs/object": "^4.0.10",
"@xylabs/object": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"typescript": "^5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@swc/core": "1.7.28",
"@xylabs/delay": "^4.0.10",
"@xylabs/delay": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"@xyo-network/account": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/set": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xylabs/set": "^4.1.0",
"@xyo-network/account-model": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/boundwitness-model": "workspace:^",
Expand Down
10 changes: 5 additions & 5 deletions packages/modules/packages/archivist/packages/cookie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"module": "dist/browser/index.mjs",
"types": "dist/browser/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/archivist-abstract": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/boundwitness-model": "workspace:^",
Expand All @@ -43,7 +43,7 @@
},
"devDependencies": {
"@types/js-cookie": "^3.0.6",
"@xylabs/delay": "^4.0.10",
"@xylabs/delay": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"@xyo-network/id-payload-plugin": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"module": "dist/node/index.mjs",
"types": "dist/node/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/error": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/error": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/account": "workspace:^",
"@xyo-network/archivist-abstract": "workspace:^",
"@xyo-network/archivist-memory": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"dependencies": {
"@firebase/app": "^0.10.12",
"@firebase/firestore": "^4.7.3",
"@xylabs/assert": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/lodash": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/lodash": "^4.1.0",
"@xyo-network/archivist-abstract": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/module-model": "workspace:^",
Expand All @@ -44,7 +44,7 @@
"devDependencies": {
"@firebase/app-compat": "^0.2.42",
"@firebase/rules-unit-testing": "^3.0.4",
"@xylabs/object": "^4.0.10",
"@xylabs/object": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"@xyo-network/account": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"module": "dist/browser/index.mjs",
"types": "dist/browser/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/lodash": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/lodash": "^4.1.0",
"@xyo-network/archivist-abstract": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/module-model": "workspace:^",
Expand All @@ -41,7 +41,7 @@
"idb": "^8.0.0"
},
"devDependencies": {
"@xylabs/object": "^4.0.10",
"@xylabs/object": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"@xyo-network/account": "workspace:^",
Expand Down
12 changes: 6 additions & 6 deletions packages/modules/packages/archivist/packages/memory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/lodash": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/lodash": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/archivist-abstract": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/boundwitness-model": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/hex": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/hex": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/account-model": "workspace:^",
"@xyo-network/module-events": "workspace:^",
"@xyo-network/module-model": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/lodash": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/lodash": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/archivist-abstract": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/boundwitness-model": "workspace:^",
Expand All @@ -42,7 +42,7 @@
"store2": "^2.14.3"
},
"devDependencies": {
"@xylabs/delay": "^4.0.10",
"@xylabs/delay": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"@xyo-network/account": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xyo-network/archivist-abstract": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/module-model": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/hex": "^4.0.10",
"@xylabs/hex": "^4.1.0",
"@xyo-network/account-model": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/module-model": "workspace:^",
Expand Down
14 changes: 7 additions & 7 deletions packages/modules/packages/bridge/packages/abstract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/forget": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/lodash": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/forget": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/lodash": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/account": "workspace:^",
"@xyo-network/account-model": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
Expand Down
16 changes: 8 additions & 8 deletions packages/modules/packages/bridge/packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
"module": "dist/neutral/index-browser.mjs",
"types": "dist/neutral/index-browser.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/axios": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/forget": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/axios": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/forget": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xylabs/sdk-api-express-ecs": "^2.0.4",
"@xyo-network/account": "workspace:^",
"@xyo-network/api-models": "workspace:^",
Expand All @@ -57,7 +57,7 @@
"@xyo-network/payload-model": "workspace:^",
"async-mutex": "^0.5.0",
"axios": "^1.7.7",
"express": "^4.21.0",
"express": "^4.21.1",
"http-status-codes": "^2.3.0",
"lru-cache": "^11.0.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/modules/packages/bridge/packages/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/hex": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/hex": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/boundwitness-model": "workspace:^",
"@xyo-network/module-events": "workspace:^",
"@xyo-network/module-model": "workspace:^",
Expand Down
20 changes: 10 additions & 10 deletions packages/modules/packages/bridge/packages/pub-sub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/array": "^4.0.10",
"@xylabs/assert": "^4.0.10",
"@xylabs/delay": "^4.0.10",
"@xylabs/exists": "^4.0.10",
"@xylabs/forget": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/timer": "^4.0.10",
"@xylabs/array": "^4.1.0",
"@xylabs/assert": "^4.1.0",
"@xylabs/delay": "^4.1.0",
"@xylabs/exists": "^4.1.0",
"@xylabs/forget": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xylabs/timer": "^4.1.0",
"@xyo-network/account": "workspace:^",
"@xyo-network/archivist-model": "workspace:^",
"@xyo-network/boundwitness-model": "workspace:^",
Expand All @@ -54,7 +54,7 @@
"lru-cache": "^11.0.1"
},
"devDependencies": {
"@xylabs/logger": "^4.0.10",
"@xylabs/logger": "^4.1.0",
"@xylabs/ts-scripts-yarn3": "^4.1.0",
"@xylabs/tsconfig": "^4.1.0",
"@xyo-network/archivist-memory": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@xylabs/assert": "^4.0.10",
"@xylabs/hex": "^4.0.10",
"@xylabs/object": "^4.0.10",
"@xylabs/promise": "^4.0.10",
"@xylabs/assert": "^4.1.0",
"@xylabs/hex": "^4.1.0",
"@xylabs/object": "^4.1.0",
"@xylabs/promise": "^4.1.0",
"@xyo-network/account": "workspace:^",
"@xyo-network/boundwitness-model": "workspace:^",
"@xyo-network/bridge-abstract": "workspace:^",
Expand Down
Loading

0 comments on commit 8cb5362

Please sign in to comment.