Skip to content

Commit f03e5d4

Browse files
committed
Rename @objectstack/client-sdk to @objectstack/client
Renamed the client SDK package and all references from @objectstack/client-sdk to @objectstack/client across documentation, example usage, and package files. This change standardizes the package name and updates import paths, installation instructions, and dependencies accordingly.
1 parent 1c53aad commit f03e5d4

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

content/docs/references/client-sdk/index.cn.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: ObjectStack 官方 TypeScript 客户端
55

66
# Client SDK
77

8-
`@objectstack/client-sdk` 是 ObjectStack 的官方 TypeScript 客户端。它提供了一个类型安全、感知协议的接口,用于与 ObjectStack Server 进行交互。
8+
`@objectstack/client` 是 ObjectStack 的官方 TypeScript 客户端。它提供了一个类型安全、感知协议的接口,用于与 ObjectStack Server 进行交互。
99

1010
## 核心特性
1111

@@ -16,13 +16,13 @@ description: ObjectStack 官方 TypeScript 客户端
1616
## 安装
1717

1818
```bash
19-
pnpm add @objectstack/client-sdk
19+
pnpm add @objectstack/client
2020
```
2121

2222
## 使用指南
2323

2424
```typescript
25-
import { ObjectStackClient } from '@objectstack/client-sdk';
25+
import { ObjectStackClient } from '@objectstack/client';
2626

2727
// 1. 初始化
2828
const client = new ObjectStackClient({

content/docs/references/client-sdk/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: The official TypeScript client for ObjectStack.
55

66
# Client SDK
77

8-
The `@objectstack/client-sdk` is the official TypeScript client for ObjectStack. It provides a typed, protocol-aware interface to interact with your ObjectStack Server.
8+
The `@objectstack/client` is the official TypeScript client for ObjectStack. It provides a typed, protocol-aware interface to interact with your ObjectStack Server.
99

1010
## Features
1111

@@ -16,13 +16,13 @@ The `@objectstack/client-sdk` is the official TypeScript client for ObjectStack.
1616
## Installation
1717

1818
```bash
19-
pnpm add @objectstack/client-sdk
19+
pnpm add @objectstack/client
2020
```
2121

2222
## Usage
2323

2424
```typescript
25-
import { ObjectStackClient } from '@objectstack/client-sdk';
25+
import { ObjectStackClient } from '@objectstack/client';
2626

2727
// 1. Initialize
2828
const client = new ObjectStackClient({

examples/todo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@objectstack/spec": "workspace:*",
11-
"@objectstack/client-sdk": "workspace:*"
11+
"@objectstack/client": "workspace:*"
1212
},
1313
"devDependencies": {
1414
"typescript": "^5.0.0"

examples/todo/src/client-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ObjectStackClient } from '@objectstack/client-sdk';
1+
import { ObjectStackClient } from '@objectstack/client';
22

33
async function main() {
44
console.log('🚀 Starting Client SDK Test...');
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @objectstack/client-sdk
1+
# @objectstack/client
22

33
The official TypeScript client for ObjectStack.
44

@@ -11,13 +11,13 @@ The official TypeScript client for ObjectStack.
1111
## Installation
1212

1313
```bash
14-
pnpm add @objectstack/client-sdk
14+
pnpm add @objectstack/client
1515
```
1616

1717
## Usage
1818

1919
```typescript
20-
import { ObjectStackClient } from '@objectstack/client-sdk';
20+
import { ObjectStackClient } from '@objectstack/client';
2121

2222
// 1. Initialize
2323
const client = new ObjectStackClient({
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@objectstack/client-sdk",
2+
"name": "@objectstack/client",
33
"version": "0.1.0",
44
"description": "Official Client SDK for ObjectStack Protocol",
55
"main": "dist/index.js",

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)