@playcaller/sdk 0.3.2 → 0.3.4
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 +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +32 -32
package/dist/index.d.mts
CHANGED
|
@@ -3489,14 +3489,15 @@ declare namespace GetNflStandingsResponse {
|
|
|
3489
3489
|
type Data = Data.Item[];
|
|
3490
3490
|
namespace Data {
|
|
3491
3491
|
interface Item {
|
|
3492
|
-
|
|
3493
|
-
|
|
3492
|
+
abbr?: string | undefined;
|
|
3493
|
+
team_name?: string | undefined;
|
|
3494
3494
|
conference?: string | undefined;
|
|
3495
3495
|
division?: string | undefined;
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3496
|
+
/** Numeric string (Postgres COUNT aggregate) */
|
|
3497
|
+
wins?: string | undefined;
|
|
3498
|
+
losses?: string | undefined;
|
|
3499
|
+
ties?: string | undefined;
|
|
3500
|
+
games_played?: string | undefined;
|
|
3500
3501
|
}
|
|
3501
3502
|
}
|
|
3502
3503
|
}
|
|
@@ -4972,7 +4973,7 @@ declare namespace HeaderAuthProvider {
|
|
|
4972
4973
|
}
|
|
4973
4974
|
|
|
4974
4975
|
declare const PlaycallerApiEnvironment: {
|
|
4975
|
-
readonly Production: "https://playcallerapp.com";
|
|
4976
|
+
readonly Production: "https://api.playcallerapp.com";
|
|
4976
4977
|
};
|
|
4977
4978
|
type PlaycallerApiEnvironment = typeof PlaycallerApiEnvironment.Production;
|
|
4978
4979
|
|
|
@@ -5564,7 +5565,7 @@ declare class McpClient {
|
|
|
5564
5565
|
* {
|
|
5565
5566
|
* "mcpServers": {
|
|
5566
5567
|
* "playcaller": {
|
|
5567
|
-
* "url": "https://playcallerapp.com/mcp",
|
|
5568
|
+
* "url": "https://api.playcallerapp.com/mcp",
|
|
5568
5569
|
* "headers": { "X-PlayCaller-Key": "YOUR_API_KEY" }
|
|
5569
5570
|
* }
|
|
5570
5571
|
* }
|
|
@@ -5573,7 +5574,7 @@ declare class McpClient {
|
|
|
5573
5574
|
*
|
|
5574
5575
|
* **Get a free trial key instantly — no card required:**
|
|
5575
5576
|
* ```bash
|
|
5576
|
-
* curl -X POST https://playcallerapp.com/mcp/start-trial \
|
|
5577
|
+
* curl -X POST https://api.playcallerapp.com/mcp/start-trial \
|
|
5577
5578
|
* -H "Content-Type: application/json" \
|
|
5578
5579
|
* -d '{"email": "you@example.com"}'
|
|
5579
5580
|
* ```
|
package/dist/index.d.ts
CHANGED
|
@@ -3489,14 +3489,15 @@ declare namespace GetNflStandingsResponse {
|
|
|
3489
3489
|
type Data = Data.Item[];
|
|
3490
3490
|
namespace Data {
|
|
3491
3491
|
interface Item {
|
|
3492
|
-
|
|
3493
|
-
|
|
3492
|
+
abbr?: string | undefined;
|
|
3493
|
+
team_name?: string | undefined;
|
|
3494
3494
|
conference?: string | undefined;
|
|
3495
3495
|
division?: string | undefined;
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3496
|
+
/** Numeric string (Postgres COUNT aggregate) */
|
|
3497
|
+
wins?: string | undefined;
|
|
3498
|
+
losses?: string | undefined;
|
|
3499
|
+
ties?: string | undefined;
|
|
3500
|
+
games_played?: string | undefined;
|
|
3500
3501
|
}
|
|
3501
3502
|
}
|
|
3502
3503
|
}
|
|
@@ -4972,7 +4973,7 @@ declare namespace HeaderAuthProvider {
|
|
|
4972
4973
|
}
|
|
4973
4974
|
|
|
4974
4975
|
declare const PlaycallerApiEnvironment: {
|
|
4975
|
-
readonly Production: "https://playcallerapp.com";
|
|
4976
|
+
readonly Production: "https://api.playcallerapp.com";
|
|
4976
4977
|
};
|
|
4977
4978
|
type PlaycallerApiEnvironment = typeof PlaycallerApiEnvironment.Production;
|
|
4978
4979
|
|
|
@@ -5564,7 +5565,7 @@ declare class McpClient {
|
|
|
5564
5565
|
* {
|
|
5565
5566
|
* "mcpServers": {
|
|
5566
5567
|
* "playcaller": {
|
|
5567
|
-
* "url": "https://playcallerapp.com/mcp",
|
|
5568
|
+
* "url": "https://api.playcallerapp.com/mcp",
|
|
5568
5569
|
* "headers": { "X-PlayCaller-Key": "YOUR_API_KEY" }
|
|
5569
5570
|
* }
|
|
5570
5571
|
* }
|
|
@@ -5573,7 +5574,7 @@ declare class McpClient {
|
|
|
5573
5574
|
*
|
|
5574
5575
|
* **Get a free trial key instantly — no card required:**
|
|
5575
5576
|
* ```bash
|
|
5576
|
-
* curl -X POST https://playcallerapp.com/mcp/start-trial \
|
|
5577
|
+
* curl -X POST https://api.playcallerapp.com/mcp/start-trial \
|
|
5577
5578
|
* -H "Content-Type: application/json" \
|
|
5578
5579
|
* -d '{"email": "you@example.com"}'
|
|
5579
5580
|
* ```
|
package/dist/index.js
CHANGED
|
@@ -2784,7 +2784,7 @@ function withNoOpAuthProvider(options) {
|
|
|
2784
2784
|
|
|
2785
2785
|
// environments.ts
|
|
2786
2786
|
var PlaycallerApiEnvironment = {
|
|
2787
|
-
Production: "https://playcallerapp.com"
|
|
2787
|
+
Production: "https://api.playcallerapp.com"
|
|
2788
2788
|
};
|
|
2789
2789
|
|
|
2790
2790
|
// errors/handleNonStatusCodeError.ts
|
|
@@ -4745,7 +4745,7 @@ var McpClient = class {
|
|
|
4745
4745
|
* {
|
|
4746
4746
|
* "mcpServers": {
|
|
4747
4747
|
* "playcaller": {
|
|
4748
|
-
* "url": "https://playcallerapp.com/mcp",
|
|
4748
|
+
* "url": "https://api.playcallerapp.com/mcp",
|
|
4749
4749
|
* "headers": { "X-PlayCaller-Key": "YOUR_API_KEY" }
|
|
4750
4750
|
* }
|
|
4751
4751
|
* }
|
|
@@ -4754,7 +4754,7 @@ var McpClient = class {
|
|
|
4754
4754
|
*
|
|
4755
4755
|
* **Get a free trial key instantly — no card required:**
|
|
4756
4756
|
* ```bash
|
|
4757
|
-
* curl -X POST https://playcallerapp.com/mcp/start-trial \
|
|
4757
|
+
* curl -X POST https://api.playcallerapp.com/mcp/start-trial \
|
|
4758
4758
|
* -H "Content-Type: application/json" \
|
|
4759
4759
|
* -d '{"email": "you@example.com"}'
|
|
4760
4760
|
* ```
|
package/dist/index.mjs
CHANGED
|
@@ -2759,7 +2759,7 @@ function withNoOpAuthProvider(options) {
|
|
|
2759
2759
|
|
|
2760
2760
|
// environments.ts
|
|
2761
2761
|
var PlaycallerApiEnvironment = {
|
|
2762
|
-
Production: "https://playcallerapp.com"
|
|
2762
|
+
Production: "https://api.playcallerapp.com"
|
|
2763
2763
|
};
|
|
2764
2764
|
|
|
2765
2765
|
// errors/handleNonStatusCodeError.ts
|
|
@@ -4720,7 +4720,7 @@ var McpClient = class {
|
|
|
4720
4720
|
* {
|
|
4721
4721
|
* "mcpServers": {
|
|
4722
4722
|
* "playcaller": {
|
|
4723
|
-
* "url": "https://playcallerapp.com/mcp",
|
|
4723
|
+
* "url": "https://api.playcallerapp.com/mcp",
|
|
4724
4724
|
* "headers": { "X-PlayCaller-Key": "YOUR_API_KEY" }
|
|
4725
4725
|
* }
|
|
4726
4726
|
* }
|
|
@@ -4729,7 +4729,7 @@ var McpClient = class {
|
|
|
4729
4729
|
*
|
|
4730
4730
|
* **Get a free trial key instantly — no card required:**
|
|
4731
4731
|
* ```bash
|
|
4732
|
-
* curl -X POST https://playcallerapp.com/mcp/start-trial \
|
|
4732
|
+
* curl -X POST https://api.playcallerapp.com/mcp/start-trial \
|
|
4733
4733
|
* -H "Content-Type: application/json" \
|
|
4734
4734
|
* -d '{"email": "you@example.com"}'
|
|
4735
4735
|
* ```
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@playcaller/sdk",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "Official TypeScript SDK for PlayCaller — real-time sports data, AI-powered analytics, and ML signals for fantasy football, baseball, basketball, hockey, golf, soccer, tennis, and UFC",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.mjs",
|
|
12
|
-
"require": "./dist/index.js"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"files": ["dist"],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsup index.ts --format cjs,esm --dts --clean",
|
|
18
|
-
"prepublishOnly": "npm run build"
|
|
19
|
-
},
|
|
20
|
-
"keywords": ["playcaller", "sports", "fantasy", "nfl", "mlb", "nba", "nhl", "golf", "soccer", "tennis", "ufc", "sports-data", "fantasy-sports"],
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"homepage": "https://playcallerapp.com/developer",
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "https://github.com/CptBeerfest/PlayCaller.git"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@types/node": "^20.0.0",
|
|
29
|
-
"tsup": "^8.0.0",
|
|
30
|
-
"typescript": "^5.0.0"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@playcaller/sdk",
|
|
3
|
+
"version": "0.3.4",
|
|
4
|
+
"description": "Official TypeScript SDK for PlayCaller — real-time sports data, AI-powered analytics, and ML signals for fantasy football, baseball, basketball, hockey, golf, soccer, tennis, and UFC",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": ["dist"],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsup index.ts --format cjs,esm --dts --clean",
|
|
18
|
+
"prepublishOnly": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"keywords": ["playcaller", "sports", "fantasy", "nfl", "mlb", "nba", "nhl", "golf", "soccer", "tennis", "ufc", "sports-data", "fantasy-sports"],
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"homepage": "https://playcallerapp.com/developer",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/CptBeerfest/PlayCaller.git"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/node": "^20.0.0",
|
|
29
|
+
"tsup": "^8.0.0",
|
|
30
|
+
"typescript": "^5.0.0"
|
|
31
|
+
}
|
|
32
|
+
}
|