@kb-labs/marketplace-contracts 2.93.0 → 2.96.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -90,6 +90,8 @@ interface PackageSource {
90
90
  }): Promise<PackageListing[]>;
91
91
  /** Publish a package (optional — only registry source supports it) */
92
92
  publish?(tarball: Buffer, metadata: PublishMetadata): Promise<PublishResult>;
93
+ /** Return a copy of this source with a per-request share token injected (optional) */
94
+ withShareToken?(token: string): PackageSource;
93
95
  }
94
96
  /**
95
97
  * A marketplace scope. Each scope has its own independent `marketplace.lock`
@@ -143,7 +145,7 @@ type ScopedMarketplaceEntry = MarketplaceEntryWithId & {
143
145
  };
144
146
  /**
145
147
  * Non-fatal warning surfaced by a marketplace operation.
146
- * Examples: a collision between platform and project lock (platform wins),
148
+ * Examples: a collision between platform and project lock (project wins),
147
149
  * a project-scope config ignored because the field is platform-only, etc.
148
150
  */
149
151
  interface MarketplaceDiagnostic {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kb-labs/marketplace-contracts",
3
3
  "description": "Shared types and interfaces for KB Labs marketplace",
4
- "version": "2.93.0",
4
+ "version": "2.96.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -17,15 +17,15 @@
17
17
  "LICENSE"
18
18
  ],
19
19
  "dependencies": {
20
- "@kb-labs/core-platform": "2.93.0",
21
- "@kb-labs/plugin-contracts": "2.93.0",
22
- "@kb-labs/core-discovery": "2.93.0"
20
+ "@kb-labs/plugin-contracts": "2.96.0",
21
+ "@kb-labs/core-platform": "2.96.0",
22
+ "@kb-labs/core-discovery": "2.96.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "tsup": "^8.5.0",
26
26
  "typescript": "^5",
27
- "vitest": "^3.2.4",
28
- "@kb-labs/devkit": "2.93.0"
27
+ "vitest": "^3.2.6",
28
+ "@kb-labs/devkit": "2.96.0"
29
29
  },
30
30
  "engines": {
31
31
  "node": ">=20.0.0",