Comparing version 0.1.1 to 1.0.0
@@ -0,0 +0,0 @@ import axios from "axios"; |
@@ -0,0 +0,0 @@ import axios from "axios"; |
@@ -0,0 +0,0 @@ import axios from "axios"; |
@@ -0,0 +0,0 @@ import axios from "axios"; |
@@ -0,0 +0,0 @@ import axios from "axios"; |
@@ -0,0 +0,0 @@ import Auth from "./auth/auth.js"; |
@@ -0,0 +0,0 @@ import axios from "axios"; |
@@ -0,0 +0,0 @@ import axios from "axios"; |
{ | ||
"name": "oasis-api", | ||
"version": "0.1.1", | ||
"description": "A JavaScript proxy for the Oasis API. To be used only in the browser.", | ||
"version": "1.0.0", | ||
"description": "A JavaScript proxy for the WEB4 OASIS API. To be used only in the browser.", | ||
"main": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/derek-dv/oasis-api.git" | ||
"url": "https://github.com/NextGenSoftwareUK/OASIS-API-Javascipt-Package.git" | ||
}, | ||
"homepage": "https://github.com/NextGenSoftwareUK/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK#readme", | ||
"author": "Oasis team", | ||
"author": "NextGen Software Ltd", | ||
"license": "MIT", | ||
"keywords": [ | ||
"oasis", | ||
"API", | ||
"Karma" | ||
"OASIS API", | ||
"Avatar API", | ||
"Karma API", | ||
"Data API", | ||
"SEEDS API", | ||
"Keys/Wallets API", | ||
"WEB 4", | ||
"Interoperable", | ||
"Holochain", | ||
"IPFS", | ||
"Solana", | ||
"EOS", | ||
"Ethereum", | ||
"MongoDB", | ||
"Neo4j", | ||
"SQLLite", | ||
"ThreeFold", | ||
"SOLID", | ||
"ActivityPub" | ||
], | ||
@@ -18,0 +34,0 @@ "dependencies": { |
134
README.md
@@ -1,14 +0,8 @@ | ||
# OASIS API | ||
# WEB4 OASIS API Javascript Package | ||
This package is for client applications to connect and work with the OASIS API | ||
Various oasis-api functions and services can be accessed with this API such as Authentication, Karma, Avatars. | ||
Each function call you make returns a promise of an object which is in this form: | ||
`{error: boolean, data: object}`. | ||
*object values* | ||
*error:* true when response from api fails | ||
*data:* response gotten from server. | ||
- [OASIS API](#oasis-api) | ||
- [Introduction](#introduction) | ||
- [Overview](#overview) | ||
- [Benefits Of Building On The WEB4 OASIS API](#web4-oasisapi-benefits) | ||
- [Do You Want To Get Involved?](#get-involved) | ||
- [Getting started](#getting-started) | ||
@@ -52,2 +46,118 @@ - [Auth](#auth) | ||
## Introduction | ||
This package is for client applications to connect and work with the OASIS API. Various OASIS API functions and services can be accessed with this API such as Authentication, Karma, Avatars, Data, SEEDS, Wallets/Keys & more... | ||
## Overview | ||
WEB4 OASIS API Javascript Package allowing peeps to build and integrate the OASIS API into any web application using Javascript. | ||
This allows you to bridge between all of WEB2 & WEB3 including Holochain, IPFS, MongoDB, SQLLite, Neo4j, Solana, Ethereum, EOS & ThreeFold with many more coming soon such as COSMOS, Polkadot, Polygon, SOLID, ActivityPub, Near & many more! :) | ||
WEB 4 OASIS API is a fully distributed decentralised fault tolerant load balanced integrated API that runs across the full Internet acting as an abstraction layer over everything and serves as a network of networks. | ||
One of the core design goals of the OASIS is maximum interoperability (to remove all silos and walled gardens) to the point everything merges into one (the singularity) and also to be super powerful but super easy and intuitive to use. | ||
It also harnesses the best of each provider so the OASIS uses the strengths of each provider to the maximum and removes all weaknesses, it automatically uses the most appropriate provider or providers for any given use case. | ||
The WEB4 OASIS API connects & Integrates everything (all of Web 2 & Web 3) including all blockchains, holochain, ipfs, databases, cloud etc into one fully unified API that is an abstraction layer over everything) and the STAR OASIS Omniverse (WEB 5) where Our World is the first world in the infinite Omniverse (what comes after Metaverse). It connects and integrates all metaverses together through the SSO Avatar/Karma system (part of the OASIS API). It is also a fully interoperable Metaverse Low Code Generator (connecting all WEB 2 and WEB 3 together) through the WEB 4 OASIS API. | ||
The OASIS API features a powerful Avatar SSO API allowing one login across all your sites, games, apps, services, etc. This avatar is the digital twin of YOU and allows you to earn/lose karma through the Karma API. | ||
It also features the Data API allowing data to be shared between the above providers giving for interoperability. It also has powerful features such as auto-fail over, auto-load balancing and auto-replication across the providers so if one node goes down in your local area it will automatically switch to the next fastest node in your area independent of the network it belongs to, this way the OASIS API never has any downtime and will always be super fast and not reliant on only one network. | ||
The OASIS API also has a SEEDS API allowing people to earn karma for donating and paying with Seeds as well as when they invite or join Seeds. Read more here: https://joinseeds.earth/ | ||
Finally it also features a Keys/Wallets API, which allows public private keys to be linked to your avatar per provider and private keys are only stored locally. Public keys and the rest of the wallet are stored on any provider. Because of the auto replication the private keys are automatically backed up to your local devices and can automatically sync between them so if you get a new device it can automatically sync with it, a bit like a decentralised offline cloud. | ||
You will never lose your keys again! ;-) | ||
It can also then sync your public key and wallet address etc when you go back online. With this architecture it opens the doors to many new use cases... | ||
The whole point of the OASIS API is to allow everything to be fully interoperable so data can be shared between any provider, the architecture opens the doors for many more use cases like importing and exporting your data between providers, aggregating all your data to remove all silos so better sense making and AI machine learning can be made to analyse and to make predictions etc, smart contract interoperability, etc | ||
It also allows full data redundancy and for it to be network independent so if one network goes down it can automatically switch to the next fastest node in your area regardless of what network it is on... | ||
[WEB 5 OASIS STAR OMNIVERSE](https://github.com/NextGenSoftwareUK/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK#web5-star-odk) is built on top of the OASIS API and aggregates all the worlds data and expresses it within a cyberspace ontology using a cutting edge custom built ORM (Object Relational Mapper) called COSMIC. The STAR Omniverse is both a simulation & game of life and aggregates all metaverses into one fully integrated unified platform. It is also a fully integrated immersive interoperable metaverse Low Code Generator and soooooo much more.... ;-) | ||
Both WEB 4 & WEB 5 use machine learning AI to analyse all of the worlds data to generate useful insights, predictions & so much more! | ||
To summarize, WEB4 OASIS API aggregates all of the worlds data into a fully unified API to allow better sense making to made, which then feeds into WEB5 STAR, which expresses it in a cyberspace ontology and connects the worlds data to the rest of the COSMOS and Galaxy... ;-) | ||
<a name="web4-oasisapi-benefits"></a> | ||
## Benefits Of Building On The WEB4 OASIS API: | ||
* **Integrate any WEB2 or WEB3 tech into your (web)app without having to learn or worry about new tech stacks/languages (the OASIS API hides all the complexity away so you can focus on creating your dream app!).** | ||
* **No need to worry about how different blockchains or WEB2 and WEB3 can talk and integrate with each other, the OASIS handles all this for you!** | ||
* **Future prove so when any new language/tech comes out such as Ethereum2 etc, these will be automatically added to the OASIS API for FREE, you will have FREE upgrades for life!** | ||
* **WEB5 ready when it is released later this year...** | ||
Check out more info below:<br><br> | ||
[The Power Of The OASIS API](https://drive.google.com/file/d/1nnhGpXcprr6kota1Y85HDDKsBfJHN6sn/view?usp=sharing) <br> | ||
[What Is WEB4 & WEB5 Really?](https://www.ourworldthegame.com/single-post/what-is-web4-web5-really) <br> | ||
[First Production Release Of The WEB4 OASIS API](https://www.ourworldthegame.com/single-post/first-production-ready-release-of-web4-oasis-api-more) <br> | ||
[Annoucing WEB5 STAR ODK/HDK/COSMIC](https://www.ourworldthegame.com/single-post/announcing-star-odk-hdk-cosmic) <br> | ||
[STAR ODK/HDK/COSMIC/OASIS API/Our World Update](https://www.ourworldthegame.com/single-post/star-odk-hdk-cosmic-oasis-api-our-world-update) <br> | ||
[Main WEB4 OASIS API & WEB5 STAR Repo](https://github.com/NextGenSoftwareUK/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK) | ||
<a name="get-involved"></a> | ||
## Do You Want To Get Involved? | ||
We are always looking for people to jump in and get involved, you do not need to be an existing coder, we can help you with that... you just need a willingness to learn and to have an open heart, we are always more interested with what is in your heart rather than your head! ;-) | ||
The whole world is the Our World team, hence the name... ;-) It is not our project; it is all of humanities... | ||
We also offer FREE training and apprenticeship program with the NextGen Developer Training Programmes. We will teach you all we know over time and you get to work on this real live commercial codebase rather than wasting time working on throw away dummy apps as most training offers. No previous skills/experience required and is open to everyone, but especially for all disadvantaged people including special needs, homeless, unemployed, prison inmates, kids on the streets etc. We want to help the people the world has forgotten and for people who have stopped believing in themselves, we **BELIEVE IN YOU** and in time you will again too. Everyone has a gift for the world, and we will help you find yours… Find out more by checking out the links below: | ||
<a href="https://c8119036-8b0a-4498-ab07-331841f19b4b.filesusr.com/ugd/4280d8_ad8787bd42b1471bae73003bfbf111f7.pdf">NextGen Developer Training Programme</a><br> | ||
<a href="https://c8119036-8b0a-4498-ab07-331841f19b4b.filesusr.com/ugd/4280d8_999d98ba615e4fa6ab4383a415ee24c5.pdf">NextGen Junior Developer Training Programme</a> | ||
We are looking for Web Devs (with any of these: react, angular, vue, js, html, css), Unity Devs & C# Devs. | ||
If anyone is interested in developing this game/platform, then we would LOVE to hear from you! 😊 There will be opportunities for people to own shares and/or cryptocurrency (as well as other unique perks such as premium locations in both the geolocation and VR versions, personal or business service spotlights, free lifetime access to all premium paid services, massive karma points (allowing your avatar to progress to more advanced stages in the game unlocking new exciting quests, areas to explore & new special abilities/superpowers) plus lots more!) based on the input they are willing to provide. | ||
Thank you and we hope we find interest from people to join us on this exciting incredible journey. | ||
**Want to make a difference in the world?** | ||
**What will be your legacy?** | ||
**Ready to be a hero?** | ||
If the answer is YES, then please [proceed to here](https://github.com/NextGenSoftwareUK/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK/wiki/So-You-Want-To-Get-Involved%3F-Ready-To-Be-A-Hero%3F)... | ||
<a href="https://drive.google.com/file/d/1b_G08UTALUg4H3jPlBdElZAFvyRcVKj1/view">Dev Requirements To Join The Our World Tribe</a><br> | ||
<a href="https://drive.google.com/file/d/12pCk20iLw_uA1yIfojcP6WwvyOT4WRiO/view?usp=sharing">The Our World Mission (Summary)</a><br> | ||
http://www.ourworldthegame.com<br> | ||
http://oasisplatform.world/swagger<br> | ||
https://github.com/NextGenSoftwareUK/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK<br> | ||
http://www.gofundme.com/ourworldthegame<br> | ||
http://www.nextgensoftware.co.uk<br> | ||
http://www.yoga4autism.com<br> | ||
https://youtu.be/wdYa5wQUfrg<br> | ||
https://www.youtube.com/watch?v=2oY4_LZBW4M&t=3s<br> | ||
https://www.youtube.com/watch?v=rvNJ6poMduo&t=5s<br> | ||
https://www.youtube.com/watch?v=zyVmciqD9rs<br> | ||
https://www.youtube.com/watch?v=SB97mvzJiRg&t=3s<br> | ||
**TOGETHER WE CAN CREATE A BETTER WORLD** | ||
In Love, Light & Hope,<br> | ||
The Our World Tribe | ||
## How To Use | ||
Each function call you make returns a promise of an object which is in this form: | ||
`{error: boolean, data: object}`. | ||
*object values* | ||
*error:* true when response from api fails | ||
*data:* response gotten from server. | ||
## Getting started | ||
@@ -456,2 +566,2 @@ | ||
} | ||
``` | ||
``` |
@@ -0,0 +0,0 @@ import axios from "axios" |
@@ -0,0 +0,0 @@ import axios from "axios"; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
215448
16
1000
0
566
2