@visualizevalue/mint-app-base 0.1.90 → 0.1.92

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.
package/app.config.ts CHANGED
@@ -4,9 +4,16 @@ export default defineAppConfig({
4
4
  1: [
5
5
  {
6
6
  component: 'P5',
7
- name: 'P5 Renderer',
7
+ name: 'P5 Renderer [Deprecated]',
8
8
  version: 1n,
9
9
  address: '0x32b8ffa14e7f77c252b6d43bec5498fcef2b205f',
10
+ description: 'Allows using P5 scripts as the artifact content. Deprecated: Please use V2'
11
+ },
12
+ {
13
+ component: 'P5',
14
+ name: 'P5 Renderer',
15
+ version: 2n,
16
+ address: '0xbf42cabb7d46bfa290dcc6223477c6afe6a83174',
10
17
  description: 'Allows using P5 scripts as the artifact content'
11
18
  },
12
19
  {
@@ -21,9 +28,16 @@ export default defineAppConfig({
21
28
  11155111: [
22
29
  {
23
30
  component: 'P5',
24
- name: 'P5 Renderer (Sepolia)',
31
+ name: 'P5 Renderer (Sepolia) [Deprecated]',
25
32
  version: 1n,
26
33
  address: '0xfadf2fb2f8a15fc830c176b71d2c905e95f4169e',
34
+ description: 'Allows using P5 scripts as the artifact content. Deprecated: Please use V2'
35
+ },
36
+ {
37
+ component: 'P5',
38
+ name: 'P5 Renderer (Sepolia)',
39
+ version: 2n,
40
+ address: '0x55b69a4f2db99417c1b211151181ed48b39df438',
27
41
  description: 'Allows using P5 scripts as the artifact content'
28
42
  },
29
43
  {
@@ -327,10 +327,14 @@ export const useOnchainStore = () => {
327
327
 
328
328
  try {
329
329
  console.info(`Fetching token #${tokenId}`)
330
+ const currentBlock = await client.getBlock()
330
331
 
331
332
  const [data, dataUri] = await Promise.all([
332
333
  mintContract.read.get([tokenId]) as Promise<[string, string, `0x${string}`[], bigint, bigint, bigint, bigint]>,
333
- mintContract.read.uri([tokenId], { gas: 100_000_000_000 }) as Promise<string>,
334
+ mintContract.read.uri([tokenId], {
335
+ gas: 100_000_000_000,
336
+ gasPrice: currentBlock.baseFeePerGas,
337
+ }) as Promise<string>,
334
338
  ])
335
339
 
336
340
  const [ _name, _description, _artifact, _renderer, mintedBlock, closeAt, _extraData ] = data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visualizevalue/mint-app-base",
3
- "version": "0.1.90",
3
+ "version": "0.1.92",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "dependencies": {