@campnetwork/origin 1.2.6-0 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.cjs +54 -54
- package/dist/core.d.ts +0 -1
- package/dist/core.esm.d.ts +0 -1
- package/dist/core.esm.js +66 -66
- package/dist/react/index.esm.d.ts +0 -1
- package/dist/react/index.esm.js +1 -113
- package/package.json +1 -1
package/dist/react/index.esm.js
CHANGED
|
@@ -2799,116 +2799,6 @@ var marketplaceMainnetAbi = [
|
|
|
2799
2799
|
}
|
|
2800
2800
|
];
|
|
2801
2801
|
|
|
2802
|
-
var royaltyVaultAbi = [
|
|
2803
|
-
{
|
|
2804
|
-
type: "constructor",
|
|
2805
|
-
inputs: [
|
|
2806
|
-
{
|
|
2807
|
-
name: "_owner",
|
|
2808
|
-
type: "address",
|
|
2809
|
-
internalType: "address"
|
|
2810
|
-
}
|
|
2811
|
-
],
|
|
2812
|
-
stateMutability: "nonpayable"
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
type: "receive",
|
|
2816
|
-
stateMutability: "payable"
|
|
2817
|
-
},
|
|
2818
|
-
{
|
|
2819
|
-
type: "function",
|
|
2820
|
-
name: "claimRoyalty",
|
|
2821
|
-
inputs: [
|
|
2822
|
-
{
|
|
2823
|
-
name: "token",
|
|
2824
|
-
type: "address",
|
|
2825
|
-
internalType: "address"
|
|
2826
|
-
}
|
|
2827
|
-
],
|
|
2828
|
-
outputs: [
|
|
2829
|
-
],
|
|
2830
|
-
stateMutability: "nonpayable"
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
type: "function",
|
|
2834
|
-
name: "owner",
|
|
2835
|
-
inputs: [
|
|
2836
|
-
],
|
|
2837
|
-
outputs: [
|
|
2838
|
-
{
|
|
2839
|
-
name: "",
|
|
2840
|
-
type: "address",
|
|
2841
|
-
internalType: "address"
|
|
2842
|
-
}
|
|
2843
|
-
],
|
|
2844
|
-
stateMutability: "view"
|
|
2845
|
-
},
|
|
2846
|
-
{
|
|
2847
|
-
type: "function",
|
|
2848
|
-
name: "renounceOwnership",
|
|
2849
|
-
inputs: [
|
|
2850
|
-
],
|
|
2851
|
-
outputs: [
|
|
2852
|
-
],
|
|
2853
|
-
stateMutability: "nonpayable"
|
|
2854
|
-
},
|
|
2855
|
-
{
|
|
2856
|
-
type: "function",
|
|
2857
|
-
name: "transferOwnership",
|
|
2858
|
-
inputs: [
|
|
2859
|
-
{
|
|
2860
|
-
name: "newOwner",
|
|
2861
|
-
type: "address",
|
|
2862
|
-
internalType: "address"
|
|
2863
|
-
}
|
|
2864
|
-
],
|
|
2865
|
-
outputs: [
|
|
2866
|
-
],
|
|
2867
|
-
stateMutability: "nonpayable"
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
type: "event",
|
|
2871
|
-
name: "OwnershipTransferred",
|
|
2872
|
-
inputs: [
|
|
2873
|
-
{
|
|
2874
|
-
name: "previousOwner",
|
|
2875
|
-
type: "address",
|
|
2876
|
-
indexed: true,
|
|
2877
|
-
internalType: "address"
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
name: "newOwner",
|
|
2881
|
-
type: "address",
|
|
2882
|
-
indexed: true,
|
|
2883
|
-
internalType: "address"
|
|
2884
|
-
}
|
|
2885
|
-
],
|
|
2886
|
-
anonymous: false
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
type: "error",
|
|
2890
|
-
name: "OwnableInvalidOwner",
|
|
2891
|
-
inputs: [
|
|
2892
|
-
{
|
|
2893
|
-
name: "owner",
|
|
2894
|
-
type: "address",
|
|
2895
|
-
internalType: "address"
|
|
2896
|
-
}
|
|
2897
|
-
]
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
type: "error",
|
|
2901
|
-
name: "OwnableUnauthorizedAccount",
|
|
2902
|
-
inputs: [
|
|
2903
|
-
{
|
|
2904
|
-
name: "account",
|
|
2905
|
-
type: "address",
|
|
2906
|
-
internalType: "address"
|
|
2907
|
-
}
|
|
2908
|
-
]
|
|
2909
|
-
}
|
|
2910
|
-
];
|
|
2911
|
-
|
|
2912
2802
|
var tbaAbi = [
|
|
2913
2803
|
{
|
|
2914
2804
|
type: "receive",
|
|
@@ -3081,7 +2971,7 @@ var constants = {
|
|
|
3081
2971
|
SUPPORTED_VIDEO_FORMATS: ["video/mp4", "video/webm"],
|
|
3082
2972
|
SUPPORTED_AUDIO_FORMATS: ["audio/mpeg", "audio/wav", "audio/ogg"],
|
|
3083
2973
|
SUPPORTED_TEXT_FORMATS: ["text/plain"],
|
|
3084
|
-
AVAILABLE_SOCIALS: ["twitter", "spotify",
|
|
2974
|
+
AVAILABLE_SOCIALS: ["twitter", "spotify"], // tiktok disabled
|
|
3085
2975
|
MAX_LICENSE_DURATION: 2628000, // 30 days in seconds
|
|
3086
2976
|
MIN_LICENSE_DURATION: 86400, // 1 day in seconds
|
|
3087
2977
|
MIN_PRICE: 1000000000000000, // 0.001 CAMP in wei
|
|
@@ -3099,7 +2989,6 @@ const ENVIRONMENTS = {
|
|
|
3099
2989
|
CHAIN: testnet,
|
|
3100
2990
|
IPNFT_ABI: ipnftMainnetAbi,
|
|
3101
2991
|
MARKETPLACE_ABI: marketplaceMainnetAbi,
|
|
3102
|
-
ROYALTY_VAULT_ABI: royaltyVaultAbi,
|
|
3103
2992
|
TBA_ABI: tbaAbi,
|
|
3104
2993
|
},
|
|
3105
2994
|
PRODUCTION: {
|
|
@@ -3112,7 +3001,6 @@ const ENVIRONMENTS = {
|
|
|
3112
3001
|
CHAIN: mainnet,
|
|
3113
3002
|
IPNFT_ABI: ipnftMainnetAbi,
|
|
3114
3003
|
MARKETPLACE_ABI: marketplaceMainnetAbi,
|
|
3115
|
-
ROYALTY_VAULT_ABI: royaltyVaultAbi,
|
|
3116
3004
|
TBA_ABI: tbaAbi,
|
|
3117
3005
|
},
|
|
3118
3006
|
};
|