Skip to content

Commit 3a1ce24

Browse files
whitelisabjjolton-contentful
authored andcommitted
fix: update cma to 12.0.0-new-beta.11
1 parent e86e811 commit 3a1ce24

6 files changed

Lines changed: 12 additions & 11 deletions

File tree

lib/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
import { Channel } from './channel'
2222
import { createAdapter } from './cmaAdapter'
2323
import { createCMAClient } from './cma'
24-
import { KeyValueMap } from 'contentful-management/types'
24+
import { KeyValueMap } from 'contentful-management'
2525

2626
const DEFAULT_API_PRODUCERS = [
2727
makeSharedAPI,

lib/cmaAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Channel } from './channel'
2-
import { Adapter, MakeRequestOptions, MakeRequestWithUserAgent } from 'contentful-management/types'
2+
import { Adapter, MakeRequestOptions, MakeRequestWithUserAgent } from 'contentful-management'
33

44
const createMakeRequestCall = (channel: Channel): MakeRequestWithUserAgent => {
55
return (opts: MakeRequestOptions) => channel.call('CMAAdapterCall', opts) as Promise<any>

lib/types/api.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { DialogsAPI } from './dialogs.types'
2020
import { AppConfigAPI } from './app.types'
2121
import { NavigatorAPI } from './navigator.types'
2222
import { EntryFieldInfo, FieldInfo } from './field.types'
23-
import { Adapter, KeyValueMap } from 'contentful-management/types'
23+
import { Adapter, KeyValueMap } from 'contentful-management'
2424
import { CMAClient } from './cmaClient.types'
2525
import { AgentAPI, AgentContext } from './agent.types'
2626

lib/types/entities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type {
1919
UploadProps as Upload,
2020
UserProps as User,
2121
WorkflowDefinitionProps as WorkflowDefinition,
22-
} from 'contentful-management/types'
22+
} from 'contentful-management'
2323

2424
export interface CanonicalRequest {
2525
method: 'GET' | 'PUT' | 'POST' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS'

package-lock.json

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"lint-staged": "lint-staged"
3838
},
3939
"dependencies": {
40-
"contentful-management": "^11.67.0"
40+
"contentful-management": "^12.0.0-new-beta.11"
4141
},
4242
"devDependencies": {
4343
"@rollup/plugin-commonjs": "^29.0.0",
@@ -139,4 +139,4 @@
139139
"@semantic-release/github"
140140
]
141141
}
142-
}
142+
}

0 commit comments

Comments
 (0)