everflow-io / everflow-sdk Goto Github PK
View Code? Open in Web Editor NEWEverflow's javascript SDK
Everflow's javascript SDK
I have a problem where EF.click() will return a transaction_id === '' In this case the Promise EF.Click is never resolved.
Lines 255 to 272 in 0ddfd41
Hi ๐๐พ
I'm attempting to use the Everflow SDK in my SvelteKit project, which runs on Vite, but upon installing the @everflow/everflow-sdk
and running my project, I get the following error. Is this something you all can update to make your package more usable?
@everflow/everflow-sdk doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
/node_modules/.pnpm/@[email protected]/node_modules/@everflow/everflow-sdk/src/fp_sdk.js:17
__vite_ssr_import_0__.default.get((components) => {
^
TypeError: Cannot read properties of undefined (reading 'get')
at eval (/node_modules/.pnpm/@[email protected]/node_modules/@everflow/everflow-sdk/src/fp_sdk.js:17:47)
at new Promise (<anonymous>)
at eval (/node_modules/.pnpm/@[email protected]/node_modules/@everflow/everflow-sdk/src/fp_sdk.js:16:20)
Thanks!
After adding the @everflow/everflow-sdk package to my project, it seems that the contents of the package are not accessible by my project, via es5 and es6 syntax (require and import aren't working). Do I need to have an npmrc config to use this? I'm seeing errors saying that the package may lack proper main configuration in its package.json, which seems to be true as there is no index.js at the top level of the project.
Given that this repo is used and installed differently than a script tag, can you please add some documentation on how to use it and what steps are necessary to make its contents importable?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.