Skip to content

Commit 27dcbb3

Browse files
committed
chore: rename @opensdks/links to @opensdks/fetch-links
1 parent eabdee0 commit 27dcbb3

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

bin/syncPackages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const tsConfigTemplate: TsConfigJson = {
131131
// // // if main is specified
132132
// // // EDIT: This doesn't work as the build output contains files in `paths` https://share.cleanshot.com/Nlmd0fKt
133133
// // // '@opensdks/util-zod': ['../../packages/util-zod/index.ts'],
134-
// // // '@opensdks/links': ['../../packages/links/index.ts'],
134+
// // // '@opensdks/fetch-links': ['../../packages/links/index.ts'],
135135
// // // '@opensdks/runtime': ['../../packages/runtime/index.ts'],
136136
// },
137137
// publish cjs for now and esm later...

packages/links/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @opensdks/links
1+
# @opensdks/fetch-links
22

33
Simple middlewares built on top of the standard Web Request & Response API (also known as the Fetch API)
44

packages/links/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@opensdks/links",
2+
"name": "@opensdks/fetch-links",
33
"version": "0.0.11",
44
"type": "module",
55
"exports": {

packages/runtime/HTTPError.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type {FetchResponse} from 'openapi-fetch'
2-
import type {HTTPMethod} from '@opensdks/links'
2+
import type {HTTPMethod} from '@opensdks/fetch-links'
33

44
export class HTTPError<T> extends Error {
55
override name = 'HTTPError'

packages/runtime/createClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
fetchLink,
77
type HTTPMethod,
88
type Link,
9-
} from '@opensdks/links'
9+
} from '@opensdks/fetch-links'
1010
import {HTTPError} from './HTTPError.js'
1111

1212
type _ClientOptions = NonNullable<Parameters<typeof _createClient>[0]>

packages/runtime/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type {ClientOptions, OpenAPIClient} from './createClient.js'
33
import {createClient} from './createClient.js'
44

55
// export type * from 'openapi-typescript-helpers'
6-
export * from '@opensdks/links'
6+
export * from '@opensdks/fetch-links'
77
export * from './HTTPError.js'
88
export * from './createClient.js'
99

packages/runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"version": "pnpm version"
4141
},
4242
"dependencies": {
43-
"@opensdks/links": "workspace:*",
43+
"@opensdks/fetch-links": "workspace:*",
4444
"openapi-fetch": "0.8.1",
4545
"openapi-typescript-helpers": "0.0.4",
4646
"openapi3-ts": "4.1.2"

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)