@spawnco/sdk-types 0.0.11 → 0.0.13

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/index.d.mts CHANGED
@@ -69,6 +69,7 @@ interface SpawnServerSDK__V1<TConfig = any> {
69
69
  config: {
70
70
  get(): Promise<TConfig>;
71
71
  version(): Promise<string>;
72
+ effectiveVersion(): Promise<string>;
72
73
  };
73
74
  economy: {
74
75
  redeemPurchase(token: string): Promise<{
package/dist/index.d.ts CHANGED
@@ -69,6 +69,7 @@ interface SpawnServerSDK__V1<TConfig = any> {
69
69
  config: {
70
70
  get(): Promise<TConfig>;
71
71
  version(): Promise<string>;
72
+ effectiveVersion(): Promise<string>;
72
73
  };
73
74
  economy: {
74
75
  redeemPurchase(token: string): Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spawnco/sdk-types",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "TypeScript type definitions for Spawn SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -18,6 +18,7 @@
18
18
  ],
19
19
  "scripts": {
20
20
  "build": "tsup src/index.ts --dts --format cjs,esm --clean",
21
+ "prepublishOnly": "bun run build",
21
22
  "dev": "tsup src/index.ts --dts --format cjs,esm --watch"
22
23
  },
23
24
  "keywords": [
package/src/v1.ts CHANGED
@@ -66,6 +66,7 @@ export interface SpawnServerSDK__V1<TConfig = any> {
66
66
  config: {
67
67
  get(): Promise<TConfig>;
68
68
  version(): Promise<string>;
69
+ effectiveVersion(): Promise<string>;
69
70
  };
70
71
 
71
72
  economy: {