Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polymarket/embeds

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymarket/embeds - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

dist/embeds/rumble/join-button/index.cjs

6

CHANGELOG.md
# @polymarket/embeds
## 1.1.4
### Patch Changes
- 1f8afc1: rumble embeds
## 1.1.3

@@ -4,0 +10,0 @@

2

dist/api/api.js

@@ -1,2 +0,2 @@

var n="https://gamma-api.polymarket.com";var u=async s=>{let t=s.slug?`markets/slug/${s.slug}`:`markets/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,outcomes:JSON.parse(e.outcomes),outcomePrices:JSON.parse(e.outcomePrices),clobTokenIds:e.clobTokenIds?JSON.parse(e.clobTokenIds):null}},m=async s=>{let t=s.slug?`events/slug/${s.slug}`:`events/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,markets:e.markets?.map(o=>({...o,outcomes:JSON.parse(o.outcomes),outcomePrices:JSON.parse(o.outcomePrices),clobTokenIds:o.clobTokenIds?JSON.parse(o.clobTokenIds):null}))??[]}};
var n="https://gamma-cache.polymarket.com";var u=async s=>{let t=s.slug?`markets/slug/${s.slug}`:`markets/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,outcomes:JSON.parse(e.outcomes),outcomePrices:JSON.parse(e.outcomePrices),clobTokenIds:e.clobTokenIds?JSON.parse(e.clobTokenIds):null}},m=async s=>{let t=s.slug?`events/slug/${s.slug}`:`events/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,markets:e.markets?.map(o=>({...o,outcomes:JSON.parse(o.outcomes),outcomePrices:JSON.parse(o.outcomePrices),clobTokenIds:o.clobTokenIds?JSON.parse(o.clobTokenIds):null}))??[]}};

@@ -3,0 +3,0 @@ export { m as getEvent, u as getMarket };

@@ -1,3 +0,3 @@

declare const GAMMA_API_URL = "https://gamma-api.polymarket.com";
declare const GAMMA_API_URL = "https://gamma-cache.polymarket.com";
export { GAMMA_API_URL };

@@ -1,2 +0,2 @@

var t="https://gamma-api.polymarket.com";
var t="https://gamma-cache.polymarket.com";

@@ -3,0 +3,0 @@ export { t as GAMMA_API_URL };

@@ -1,2 +0,2 @@

var n="https://gamma-api.polymarket.com";var c=async s=>{let t=s.slug?`markets/slug/${s.slug}`:`markets/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,outcomes:JSON.parse(e.outcomes),outcomePrices:JSON.parse(e.outcomePrices),clobTokenIds:e.clobTokenIds?JSON.parse(e.clobTokenIds):null}},a=async s=>{let t=s.slug?`events/slug/${s.slug}`:`events/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,markets:e.markets?.map(o=>({...o,outcomes:JSON.parse(o.outcomes),outcomePrices:JSON.parse(o.outcomePrices),clobTokenIds:o.clobTokenIds?JSON.parse(o.clobTokenIds):null}))??[]}};
var n="https://gamma-cache.polymarket.com";var c=async s=>{let t=s.slug?`markets/slug/${s.slug}`:`markets/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,outcomes:JSON.parse(e.outcomes),outcomePrices:JSON.parse(e.outcomePrices),clobTokenIds:e.clobTokenIds?JSON.parse(e.clobTokenIds):null}},a=async s=>{let t=s.slug?`events/slug/${s.slug}`:`events/${s.id}`,e=await(await fetch(`${n}/${t}`)).json();return {...e,markets:e.markets?.map(o=>({...o,outcomes:JSON.parse(o.outcomes),outcomePrices:JSON.parse(o.outcomePrices),clobTokenIds:o.clobTokenIds?JSON.parse(o.clobTokenIds):null}))??[]}};

@@ -3,0 +3,0 @@ export { a as getEvent, c as getMarket };

export { MarketEmbed } from './embeds/market/index.js';
export { ElectionEmbed } from './embeds/election/index.js';
export { RumbleJoinEmbed } from './embeds/rumble/join-button/index.js';
export { RumblePresidentialElectionEmbed } from './embeds/rumble/presidential-election/index.js';
import 'lit-html';
import 'lit';
import './embeds/election/constants.js';
{
"name": "@polymarket/embeds",
"version": "1.1.3",
"version": "1.1.4",
"description": "Web Components for Polymarket",

@@ -5,0 +5,0 @@ "type": "module",

@@ -1,1 +0,1 @@

export const GAMMA_API_URL = "https://gamma-api.polymarket.com";
export const GAMMA_API_URL = "https://gamma-cache.polymarket.com";
export { MarketEmbed } from "./embeds/market/index.js";
export { ElectionEmbed } from "./embeds/election/index.js";
export { RumbleJoinEmbed } from "./embeds/rumble/join-button/index.js";
export { RumblePresidentialElectionEmbed } from "./embeds/rumble/presidential-election/index.js";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc