Skip to content

Commit 917adab

Browse files
Merge pull request #13 from athulanilthomas/feat/update-spec
feat(docs): update spec to latest version
2 parents e7a4b27 + b97b879 commit 917adab

6 files changed

Lines changed: 31 additions & 25 deletions

File tree

apps/playground/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# playground
2+
3+
## 1.0.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- splitwise-ts@1.1.3

apps/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playground",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A playground for testing Splitwise TypeScript SDK",
55
"keywords": [],
66
"author": "",

packages/splitwise-ts/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# splitwise-ts
22

3+
## 1.1.3
4+
5+
### Patch Changes
6+
7+
- Updated the spec file to reflect the latest documentation.
8+
39
## 1.1.2
410

511
### Patch Changes

packages/splitwise-ts/package.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
"name": "splitwise-ts",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "A typed, fast, flexible SDK for Splitwise written in TypeScript",
55
"main": "dist/index.mjs",
66
"types": "dist/index.d.ts",
7-
"files": [
8-
"dist"
9-
],
7+
"files": ["dist"],
108
"exports": {
119
".": {
1210
"import": "./dist/index.mjs",
@@ -45,11 +43,5 @@
4543
"oauth4webapi": "^3.1.1",
4644
"ofetch": "^1.4.1"
4745
},
48-
"keywords": [
49-
"splitwise",
50-
"typescript",
51-
"sdk",
52-
"api-client",
53-
"splitwise-ts"
54-
]
46+
"keywords": ["splitwise", "typescript", "sdk", "api-client", "splitwise-ts"]
5547
}

packages/splitwise-ts/splitwise.spec.json

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

packages/splitwise-ts/src/lib/types/splitwise.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ export interface paths {
292292
* Add friends
293293
* @description Add multiple friends at once.
294294
*
295-
* For each user, if the other user does not exist, you must supply `friends__{index}__first_name`.
295+
* For each user, if the other user does not exist, you must supply `users__{index}__first_name`.
296296
*
297-
* **Note**: user parameters must be flattened into the format `friends__{index}__{property}`, where
297+
* **Note**: user parameters must be flattened into the format `users__{index}__{property}`, where
298298
* `property` is `first_name`, `last_name`, or `email`.
299299
*
300300
*/
@@ -2833,10 +2833,10 @@ export interface operations {
28332833
requestBody: {
28342834
content: {
28352835
/** @example {
2836-
* "friends__0__first_name": "Alan",
2837-
* "friends__0__last_name": "Turing",
2838-
* "friends__0__email": "alan@example.org",
2839-
* "friends__1__email": "existing_user@example.com"
2836+
* "users__0__first_name": "Alan",
2837+
* "users__0__last_name": "Turing",
2838+
* "users__0__email": "alan@example.org",
2839+
* "users__1__email": "existing_user@example.com"
28402840
* } */
28412841
'application/json': {
28422842
[key: string]: string

0 commit comments

Comments
 (0)