harness / ff-javascript-client-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
New Test issue. Updating issue
Whilst using the following for the target identifer:
"target": {
"identifier": "d5358360-87c5-4526-bc43-b0321107e494",
"attributes": {
"lastUpdated": "Tue Mar 26 2024 19:23:57 GMT+0900 (\u65e5\u672c\u6a19\u6e96\u6642)",
"Version": "1225918127"
}
We are getting the following error from the SDK
29.d9686e77.chunk.js:2 [FF-SDK] Authentication error: DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
at /static/js/29.d9686e77.chunk.js:2:845943
at Generator.next (<anonymous>)
at /static/js/29.d9686e77.chunk.js:2:836966
at new Promise (<anonymous>)
at h (/static/js/29.d9686e77.chunk.js:2:836785)
at static/js/29.d9686e77.chunk.js:2:845734
We are using the following suggested way from the lastUpdated step: Date()
https://github.com/harness/ff-javascript-client-sdk/blob/b4fea2301f7d03eb8ae438471470c8f892b04f86/README.md#no-streaming-or-polling
It seems this returns a non Latin and the UTF-8 characters rendered properly, it reads as "日本標準時" which translates to "Japan Standard Time".
Hello harness people,
when installing ff sdk to my project (latest version 1.4.9), yarn install fails with
Yarn version:
1.22.17
Node version:
14.18.1
Platform:
darwin x64
Trace:
TypeError: true is not iterable!
at module.exports.module.exports.__webpack_require__.getIterator (/usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:105587:42)
at PackageLinker.<anonymous> (/usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:48787:192)
at Generator.next (<anonymous>)
at step (/usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:310:30)
at /usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:328:14
at new Promise (<anonymous>)
at new F (/usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:5301:28)
at PackageLinker.<anonymous> (/usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:307:12)
at PackageLinker.linkBinDependencies (/usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:48834:20)
at /usr/local/Cellar/yarn/1.22.17_2/libexec/lib/cli.js:49400:28
when tryin 1.4.7, all looks fine.
This is probably a typo in your package.json
.
The current version of jwt-decode
is 3.1.2
but in your package.json
is 3.2.1
.
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.