@cloudbase/types 2.17.9 → 2.17.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +1 -7
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -3,7 +3,6 @@ import { ICloudbaseComponent, ICloudbaseHook } from './component'
3
3
  import { ICloudbaseRequest } from './request'
4
4
  import { ICloudbaseCache } from './cache'
5
5
  import { ICloudbaseAuth } from './auth'
6
- import { CaptchaOptions } from '../oauth/src/captcha/captcha'
7
6
 
8
7
  export type Persistence = 'local' | 'session' | 'none'
9
8
 
@@ -54,13 +53,8 @@ export interface ICloudbase {
54
53
  registerVersion: (version: string) => void
55
54
  fire?: (...args: any[]) => void
56
55
  }
57
-
58
- export interface IAdapter extends SDKAdapterInterface {
59
- captchaOptions?: Partial<CaptchaOptions>
60
- }
61
-
62
56
  export interface ICloudbasePlatformInfo {
63
- adapter?: IAdapter
57
+ adapter?: SDKAdapterInterface
64
58
  runtime?: string
65
59
  }
66
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/types",
3
- "version": "2.17.9",
3
+ "version": "2.17.10",
4
4
  "description": "cloudbase javascript sdk types",
5
5
  "files": [
6
6
  "index.js",
@@ -37,11 +37,11 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@cloudbase/adapter-interface": "^0.7.0"
40
+ "@cloudbase/adapter-interface": "^0.7.1"
41
41
  },
42
42
  "scripts": {
43
43
  "lint": "eslint --fix \"./**/*.ts\"",
44
44
  "precommit": "npm run lint"
45
45
  },
46
- "gitHead": "40f4033092f83cdf8d11ec32bcb2013a74396905"
46
+ "gitHead": "3f81a973d61665bc2476b4c03e63ce58125239f3"
47
47
  }