Skip to content

Commit

Permalink
fixed http adapter export
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Campbell authored and Cameron Campbell committed Oct 23, 2024
1 parent 785e4d4 commit 5c15a6a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Binary file modified bun.lockb
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/pages/guides/httpAdapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ By default Openblox uses `fetch` to make HTTP requests. Some users may prefer to
// ./myHttpAdapter.ts

// [ Modules ] ///////////////////////////////////////////////////////////////////
import { HttpAdapter, HttpResponse } from "openblox/http/adapters"
import { HttpAdapter, HttpResponse } from "openblox/http"
//////////////////////////////////////////////////////////////////////////////////


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "openblox",
"description": "Roblox API Wrapper For Both Classic And OpenCloud APIs.",
"type": "commonjs",
"version": "1.0.58",
"version": "1.0.59",
"license": "MIT",
"bugs": {
"url": "https://github.com/MightyPart/openblox/issues"
Expand Down
4 changes: 3 additions & 1 deletion src/http/http.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@ export class HttpError {
this.errors = errors
this.response = response
}
}
}

export type { HttpAdapter } from "./httpAdapters"

0 comments on commit 5c15a6a

Please sign in to comment.