Skip to content

Commit

Permalink
chore(core): fix readonly attributes and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Oct 25, 2023
1 parent 49cfa90 commit 3c4b14d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
58 changes: 29 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ApiClient {

baseUrl: string
#accessToken: string
#client: AxiosInstance
readonly #client: AxiosInstance

public interceptors: InterceptorManager

Expand Down
4 changes: 2 additions & 2 deletions src/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ type ResourcesConfig = Partial<ResourcesInitConfig>

class ResourceAdapter {

#client: ApiClient
readonly #client: ApiClient

#config: ResourceAdapterConfig = {}
readonly #config: ResourceAdapterConfig = {}


constructor(config: ResourcesInitConfig) {
Expand Down

0 comments on commit 3c4b14d

Please sign in to comment.