Comments (1)
Reverted the fix in 50daaed , and can't seem to reproduce this with:
var server = new StellarSdk.Server("https://horizon-testnet.stellar.org");
var address = "GBYHQ4KYYSPAVN4ISG44CQ6SZBXQCSKLRWOKOWQGOPJNIHYRTYCBDHGU";
// Streaming:
server
.transactions()
.forAccount(address)
.cursor('now')
.stream({
onmessage(message) {
console.log("message:", message);
},
});
// Normal request:
setTimeout(function() {
var requestTime = new Date();
server
.transactions()
.forAccount(address)
.call()
.then(function(transactions) {
console.log(transactions);
console.log(`Received data after: ${(new Date() - requestTime)/1000}s`);
});
}, 2000);
so afaict, stellar/go#476 has fixed it, so we could remove the c
query param now.
from js-stellar-sdk.
Related Issues (20)
- error: XDR Read Error: attempt to read outside the boundary of the buffer HOT 2
- Enhance the fee presentation in the SDK for better clarity and usability
- Develop and add helper functions for retrieving ledger entries (getLedgerEntries)
- [Spike] Consolidate the build process to a single build tool
- [Spike] SDK Architecture Improvements HOT 1
- Issue txMalformed HOT 1
- Latest Horizon and RPC changes HOT 1
- Add a `SorobanRpc.Server.getWasm(contractId)` method HOT 1
- Sort Maps HOT 1
- Add yarn fmt as part of CI flow
- ledger stream onMessage: returns different type than expected
- Add support for Horizon's asynchronous transaction submission endpoint
- feature: XDR serialization of Auth Entries for multi-auth workflow
- contract client: add `sign` method, in addition to `signAndSend` HOT 1
- Use `soroban contract init` to generate contracts for `e2e tests` HOT 1
- Default Soroban signature expiration is too high HOT 2
- No Identifiers allowed after numeric literals (React Native) HOT 1
- Struct encoding fails based on entries order HOT 2
- Support `getVersionInfo` in the RPC client (`rpc.Server`)
- Support `getFeeStats` in the RPC client (`rpc.Server`)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-stellar-sdk.