|
|
@@ -256,7 +256,7 @@ import { generateSigner, publicKey } from '@metaplex-foundation/umi'
|
|
|
import {
|
|
|
create,
|
|
|
CheckResult
|
|
|
-} from '@metaplex-foundation/core'
|
|
|
+} from '@metaplex-foundation/mpl-core'
|
|
|
|
|
|
const collectionSigner = generateSigner(umi)
|
|
|
|
|
|
@@ -271,14 +271,11 @@ const asset = await create(umi, {
|
|
|
type: 'Anchor',
|
|
|
},
|
|
|
baseAddress: oracleAccount,
|
|
|
- authority: {
|
|
|
- type: 'UpdateAuthority',
|
|
|
- },
|
|
|
lifecycleChecks: {
|
|
|
update: [CheckResult.CAN_REJECT],
|
|
|
},
|
|
|
baseAddressConfig: undefined,
|
|
|
- },,
|
|
|
+ },
|
|
|
],
|
|
|
});.sendAndConfirm(umi)
|
|
|
```
|
|
|
@@ -562,7 +559,7 @@ import { generateSigner, publicKey } from '@metaplex-foundation/umi'
|
|
|
import {
|
|
|
create,
|
|
|
CheckResult
|
|
|
- } from '@metaplex-foundation/core'
|
|
|
+ } from '@metaplex-foundation/mpl-core'
|
|
|
|
|
|
const collectionSigner = generateSigner(umi)
|
|
|
const oracleAccount = publicKey('11111111111111111111111111111111')
|
|
|
@@ -580,7 +577,7 @@ const collection = await createCollection(umi, {
|
|
|
update: [CheckResult.CAN_REJECT],
|
|
|
},
|
|
|
baseAddressConfig: undefined,
|
|
|
- },,
|
|
|
+ },
|
|
|
],
|
|
|
});.sendAndConfirm(umi)
|
|
|
```
|