Skip to content

Releases: wevm/frog

[email protected]

07 Mar 22:28
35eba25
Compare
Choose a tag to compare

Minor Changes

  • #109 e5296d8 Thanks @jxom! - This version of Frog removes the concept of "Render Cycles". All frames now facilitate a single cycle.

    There are a couple of small deprecations:

    1. Deprecated cycle from context – you can now omit the conditionals completely.
    app.frame('/', c => {
    -  if (c.cycle === 'main') console.log('hello world')
    +  console.log('hello world')
    })
    1. Deprecated fonts property in c.res in favor of fonts on frame route options:
    app.frame('/', c => {
      return c.res({
        imageOptions: {
    -     fonts: // ...
        }
      })
    }, {
    +  fonts: // ...
    })

[email protected]

07 Mar 21:27
4346748
Compare
Choose a tag to compare

Patch Changes

[email protected]

07 Mar 04:14
c4d2a1c
Compare
Choose a tag to compare

Patch Changes

  • efe1f6a Thanks @jxom! - Strengthened chainId type for transactions.

[email protected]

07 Mar 03:16
fd813ab
Compare
Choose a tag to compare

Patch Changes

[email protected]

06 Mar 22:09
b7aa564
Compare
Choose a tag to compare

Patch Changes

[email protected]

06 Mar 20:52
12cc387
Compare
Choose a tag to compare

Patch Changes

[email protected]

06 Mar 11:11
4e4c084
Compare
Choose a tag to compare

Patch Changes

[email protected]

06 Mar 04:41
ee3884c
Compare
Choose a tag to compare

Patch Changes

[email protected]

06 Mar 04:29
e796d91
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #80 c377528 Thanks @jxom! - Type Change: The state generic in the Frog constructor type is now named.

    type State = { count: number }
    
    - const frog = new Frog<State>({
    + const frog = new Frog<{ State: State }>({
      initialState: { count: 0 }
    })
  • #80 c377528 Thanks @jxom! - Added a var property to context to extract variables that were previously set via set in Middleware. Read more.

[email protected]

06 Mar 00:38
963d071
Compare
Choose a tag to compare

Patch Changes

  • 142040e Thanks @jxom! - Fixed URL comparison for frame verification.