Skip to content

Commit

Permalink
Update default assets, S3 assets path
Browse files Browse the repository at this point in the history
  • Loading branch information
msub2 committed Dec 19, 2024
1 parent 1cbedb5 commit d4beba5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Binary file modified assets/zesty-default-billboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/zesty-default-medium-rectangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/zesty-default-mobile-phone-interstitial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/utils/networking.test.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test';
import { fetchCampaignAd } from '../../utils/networking.js';

const DEFAULT_BANNER = 'https://cdn.zesty.xyz/images/zesty/zesty-banner-tall.png'
const DEFAULT_BANNER = 'https://cdn.zesty.xyz/sdk/assets/zesty-banner-tall.png'

const MOCK_IFRAME_SETUP = {
window: {
Expand Down
6 changes: 3 additions & 3 deletions unity/Assets/ZestySDK/Scripts/Internal/Utils/Formats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ public Format(double width, double height, string[] images)

// Moible Phone Interstitial
static string[] mobilePhoneInterstitialImages = {
$"{Constants.CDN_URL}/images/zesty/zesty-default-mobile-phone-interstitial.png",
$"{Constants.CDN_URL}/sdk/assets/zesty-default-mobile-phone-interstitial.png",
};
public static Format MobilePhoneInterstitial = new Format(0.56, 1, mobilePhoneInterstitialImages);

// Billboard
static string[] billboardImages = {
$"{Constants.CDN_URL}/images/zesty/zesty-default-billboard.png",
$"{Constants.CDN_URL}/sdk/assets/zesty-default-billboard.png",
};
public static Format Billboard = new Format(3.88, 1, billboardImages);

// Medium Rectangle
static string[] mediumRectangleImages = {
$"{Constants.CDN_URL}/images/zesty/zesty-default-medium-rectangle.png",
$"{Constants.CDN_URL}/sdk/assets/zesty-default-medium-rectangle.png",
};
public static Format MediumRectangle = new Format(1.2, 1, mediumRectangleImages);

Expand Down
Binary file modified unity/zesty-unity-sdk.unitypackage
Binary file not shown.
2 changes: 1 addition & 1 deletion utils/formats.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const assetsURL = 'https://cdn.zesty.xyz/images/zesty';
const assetsURL = 'https://cdn.zesty.xyz/sdk/assets';

const formats = {
'tall': {
Expand Down

0 comments on commit d4beba5

Please sign in to comment.