Giter Club home page Giter Club logo

raam.client.js's People

Contributors

cr0ssing avatar dependabot[bot] avatar ender503 avatar jserv avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raam.client.js's Issues

Failed to fetch the message when running simpleReadWrite example

$ node examples/simpleReadWrite.js 
Seed: BXQILBEHWEGCMUIGRJSJFQKNRPUEJHCH9ZGJZVQTNUMSZ9CDFQDVUXJXFRHQDYUVXKRYV9TTKJORG9IUL
Channel root: CHZSXYPOZINNMHBUHFPCSOWXTWVAQVINYPEFFFPDTHKOOZJQAUOE9ZURTDOFEVZEQXUZCDJKIZDVOUFBCSMGXECZ9FOURVZYD9JTVYOEHMRDJLGCGOBEXMOJUHEXKAAENV9UVVQYUQNMJJWUKMIEAODM9LXAEZUX9W
Generated RAAM channel. Reading channel...
Cursor: 0
Messages: []
Publishing 2 messages...
Bundle 1: TKJIDKLY9FDPEFQXHLFILBVJL9OBWG9IRVCEFYZGJ9GFQVYAZCGJHPYYKKONOGKTCOLBEIFATYKEDHEJD
Bundle 2: FIYZEAIAGJRREHLZPISVGEPBVKCWBBDYJATZIVVO9DGKETJCWLXCGAGYCGFJKYQFIYSOJS9ARUZEDCLNW
Messages: [ 'HELLOIOTA', <2 empty items>, 'HELLOIOTAA' ]
Branch security: 1
Branch messages: []
Messages: []
Bundle 3: UXQQYLIKUUWL9KFPFWXNKQCKQINDFEXLB9CHNVUY9VGQLDUAXWVHLQHK9YAYVLJJHVXCIRPIOOFFOPWED
Message: []
[ { bundle:
     'UXQQYLIKUUWL9KFPFWXNKQCKQINDFEXLB9CHNVUY9VGQLDUAXWVHLQHK9YAYVLJJHVXCIRPIOOFFOPWED',
    error:
     RangeError: Source is too large
         at Int8Array.set (<anonymous>)
         at processBundle (/Users/ender/raam.client.js/lib/message.js:277:22)
         at Object.getMessage (/Users/ender/raam.client.js/lib/message.js:192:24) } ]

Support latest IOTA JavaScript client library

The latest version of package @iota/core is 1.0.0-beta.12, which conflicts with RAAM:

$ node examples/manualMessageConstruction.js
...
Getting message...
Bundle RDG9INNRSGYKJCBUWGRKAELCKUXLMWA9EQVKS9KVESYLSBLCPJLLQKKRGCZINECXZLPJYGFBRLTBPSB9W - RangeError: Source is too large
    at Int8Array.set (<anonymous>)
    at processBundle (raam.client.js/lib/message.js:261:26)
    at Object.getMessage (raam.client.js/lib/message.js:176:30)
TypeError: Cannot read property 'index' of undefined
    at examples/manualMessageConstruction.js:66:34

It works well when @iota/core is rolled back to version "1.0.0-beta.11"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.